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; |
| 11 | |
| 12 | use Countable; |
| 13 | use IteratorAggregate; |
| 14 | use Phexium\Domain\Collection\Interface\FunctionalCollectionInterface; |
| 15 | use Phexium\Domain\Collection\Interface\MutableCollectionInterface; |
| 16 | use Phexium\Domain\Collection\Interface\NavigableCollectionInterface; |
| 17 | use Phexium\Domain\Collection\Interface\ReadableCollectionInterface; |
| 18 | use Phexium\Domain\Collection\Interface\SearchableCollectionInterface; |
| 19 | use Phexium\Domain\Collection\Interface\TransformableCollectionInterface; |
| 20 | |
| 21 | interface CollectionInterface extends Countable, IteratorAggregate, ReadableCollectionInterface, NavigableCollectionInterface, MutableCollectionInterface, FunctionalCollectionInterface, SearchableCollectionInterface, TransformableCollectionInterface |
| 22 | { |
| 23 | public static function fromArray(array $collection): static; |
| 24 | |
| 25 | public static function fromMap(array $collection, callable $fn): static; |
| 26 | } |