ArgumentArray¶
| Qualified name: | Ouxsoft\PHPMarkup\ArgumentArray |
|---|
-
class
ArgumentArray¶ -
public
count() → int¶ Returns count of containers
Returns: int –
-
public
current() → mixed¶ Returns: mixed –
-
public
get() → array¶ Return container property
Returns: array –
-
public
key()¶ Returns: bool|float|int|mixed|string|null
-
public
merge($array)¶ Merge array passed with container property
Parameters: - $array –
-
public
next()¶ Returns: bool|mixed|void
-
public
offsetExists($offset) → bool¶ Check if item exists inside container
Parameters: - $offset –
Returns: bool –
-
public
offsetGet($offset) → mixed¶ Get item from container
Parameters: - $offset –
Returns: mixed –
-
public
offsetSet($offset, $value)¶ Adds new item to array, if only one item in array then it will be a string
Parameters: - $offset –
- $value –
-
public
offsetUnset($offset)¶ Remove item from container
Parameters: - $offset –
-
public
rewind()¶
-
public
valid() → bool¶ Returns: bool –
-
public