| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Collection; |
| 4: | |
| 5: | use Salient\Contract\Collection\CollectionInterface; |
| 6: | use IteratorAggregate; |
| 7: | |
| 8: | /** |
| 9: | * @api |
| 10: | * |
| 11: | * @template TKey of array-key |
| 12: | * @template TValue |
| 13: | * |
| 14: | * @implements CollectionInterface<TKey,TValue,mixed[]> |
| 15: | * @implements IteratorAggregate<TKey,TValue> |
| 16: | */ |
| 17: | class Collection implements CollectionInterface, IteratorAggregate |
| 18: | { |
| 19: | /** @use CollectionTrait<TKey,TValue,static<TKey|int,TValue>> */ |
| 20: | use CollectionTrait; |
| 21: | /** @use RecursiveArrayableCollectionTrait<TKey,TValue> */ |
| 22: | use RecursiveArrayableCollectionTrait; |
| 23: | } |
| 24: |