Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | // ╔════════════════════════════════════════════════════════════╗ |
| 4 | // ║ MIT Licence (#Expat) - https://opensource.org/licenses/MIT ║ |
| 5 | // ║ Copyright 2026 Frederic Poeydomenge <dyno@phexium.com> ║ |
| 6 | // ╚════════════════════════════════════════════════════════════╝ |
| 7 | |
| 8 | declare(strict_types=1); |
| 9 | |
| 10 | namespace Phexium\Domain\Collection\Interface; |
| 11 | |
| 12 | interface ReadableCollectionInterface |
| 13 | { |
| 14 | public function items(): array; |
| 15 | |
| 16 | public function values(): array; |
| 17 | |
| 18 | public function first(): mixed; |
| 19 | |
| 20 | public function last(): mixed; |
| 21 | |
| 22 | public function isEmpty(): bool; |
| 23 | } |