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