Fully Qualified Name: | Zend\Stdlib\ParametersInterface |
Extends: | ArrayAccess, Countable, Serializable, Traversable |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | ParametersInterface |
fromArray() | From array | ParametersInterface |
fromString() | From string | ParametersInterface |
get() | Get | ParametersInterface |
set() | Set | ParametersInterface |
toArray() | To array | ParametersInterface |
toString() | To string | ParametersInterface |
Constructor
Parameter Name | Type | Description |
---|---|---|
$values | array |
Returns:
From array
Allow deserialization from standard array
Parameter Name | Type | Description |
---|---|---|
$values | array |
Returns: mixed
From string
Allow deserialization from raw body; e.g., for PUT requests
Parameter Name | Type | Description |
---|---|---|
$string | ||
$string |
Returns: mixed
Get
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$default | mixed|null |
Returns: mixed
Set
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$value | mixed |
Returns: \ParametersInterface
To array
Allow serialization back to standard array
Returns: mixed
To string
Allow serialization to query format; e.g., for PUT or POST requests
Returns: mixed