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