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