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