<TKey is array-key, TValue, TArrayValue = TValue>extends |
DictionaryInterface<TKey, TValue, TArrayValue> |
|---|
| Methods | ||
|---|---|---|
public
|
add(TValue $value): static<TKey|int, TValue, TArrayValue>
|
# |
public
|
push(TValue ...$items): static<TKey|int, TValue, TArrayValue>
|
# |
public
|
unshift(TValue ...$items): static<TKey|int, TValue, TArrayValue>
|
# |
| Methods inherited from Salient\Contract\Collection\DictionaryInterface |
|---|
__construct(), isEmpty(), set(), has(), get(), unset(), merge(), sort(), reverse(), forEach(), map(), filter(), find(), only(), onlyIn(), except(), exceptIn(), slice(), hasValue(), keyOf(), firstOf(), all(), first(), last(), nth(), pop(), shift() |
| Methods inherited from ArrayAccess |
|---|
offsetExists(), offsetGet(), offsetSet(), offsetUnset() |
| Methods inherited from Countable |
|---|
count() |
| Methods inherited from JsonSerializable |
|---|
jsonSerialize() |
| Methods inherited from Salient\Contract\Core\Arrayable |
|---|
toArray() |
| Methods inherited from Salient\Contract\Core\Jsonable |
|---|
toJson() |
| Constants inherited from Salient\Contract\Collection\DictionaryInterface |
|---|
|