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