ArrayExtra
- Full name:
\Qubus\NoSql\ArrayExtra
- This class implements:
\ArrayAccess
Properties
items
Methods
__construct
Constructor
Parameters:
Parameter | Type | Description |
---|---|---|
$items | array |
arrayHas
Check if an item or items exist in an array using "dot" notation.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$array | array | |
$key | string|int |
arrayGet
Get an item from an array using "dot" notation.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$array | array | |
$key | string |
arraySet
Set an item on an array or object using dot notation.
public static arraySet(mixed& $target, array|string $key, mixed $value, bool $overwrite = true): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$target | mixed | |
$key | array|string | |
$value | mixed | |
$overwrite | bool |
arrayRemove
Remove item in array.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$array | array | |
$key | string |
merge
Merge array.
Parameters:
Parameter | Type | Description |
---|---|---|
$value | array |
getArrayValue
Returns array value.
Parameters:
Parameter | Type | Description |
---|---|---|
$value | array|\Qubus\NoSql\ArrayExtra | |
$message | string |
toArray
Array items.
offsetSet
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed | |
$value | mixed |
offsetExists
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed |
offsetUnset
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed |
offsetGet
Parameters:
Parameter | Type | Description |
---|---|---|
$offset | mixed |
Automatically generated on 2025-10-13