| 1 | <?php |
||
| 13 | abstract class AbstractConstCollectionArray extends AbstractCollection implements |
||
| 14 | CollectionInterface, |
||
| 15 | CollectionConvertableInterface, |
||
| 16 | \Serializable, |
||
| 17 | \JsonSerializable |
||
| 18 | { |
||
| 19 | use SortTrait; |
||
| 20 | |||
| 21 | public function __construct($array = null) |
||
| 27 | 61 | ||
| 28 | /** |
||
| 29 | 61 | * @var array |
|
| 30 | 15 | */ |
|
| 31 | protected $container = []; |
||
| 32 | |||
| 33 | /** |
||
| 34 | 15 | * {@inheritdoc} |
|
| 35 | 15 | */ |
|
| 36 | 6 | public function isEmpty() |
|
| 40 | |||
| 41 | 15 | /** |
|
| 42 | * {@inheritdoc} |
||
| 43 | 61 | */ |
|
| 44 | public function count() |
||
| 48 | 1 | ||
| 49 | /** |
||
| 50 | 1 | * {@inheritdoc} |
|
| 51 | */ |
||
| 52 | public function clear() |
||
| 58 | 7 | ||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function serialize() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | public function unserialize($serialized) |
||
| 76 | 2 | ||
| 77 | /** |
||
| 78 | * {@inheritdoc} |
||
| 79 | */ |
||
| 80 | public function jsonSerialize() |
||
| 84 | 1 | ||
| 85 | /** |
||
| 86 | 1 | * {@inheritdoc} |
|
| 87 | */ |
||
| 88 | public function toVector() |
||
| 92 | 3 | ||
| 93 | /** |
||
| 94 | 3 | * {@inheritdoc} |
|
| 95 | 2 | */ |
|
| 96 | public function toImmVector() |
||
| 100 | |||
| 101 | /** |
||
| 102 | * {@inheritdoc} |
||
| 103 | */ |
||
| 104 | public function toSet() |
||
| 108 | |||
| 109 | /** |
||
| 110 | * {@inheritdoc} |
||
| 111 | */ |
||
| 112 | public function toImmSet() |
||
| 116 | |||
| 117 | /** |
||
| 118 | * {@inheritdoc} |
||
| 119 | */ |
||
| 120 | public function toMap() |
||
| 124 | |||
| 125 | /** |
||
| 126 | * {@inheritdoc} |
||
| 127 | */ |
||
| 128 | public function toImmMap() |
||
| 132 | } |
||
| 133 |