Interface ParametersInterface

Summary

Fully Qualified Name: Zend\Stdlib\ParametersInterface
Extends: ArrayAccess, Countable, Serializable, Traversable

Description

Methods

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

Method Details

__construct()

Constructor

Parameter Name Type Description
$values array

Returns:

fromArray()

From array

Allow deserialization from standard array

Parameter Name Type Description
$values array

Returns: mixed

fromString()

From string

Allow deserialization from raw body; e.g., for PUT requests

Parameter Name Type Description
$string
$string

Returns: mixed

get()

Get

Parameter Name Type Description
$name string
$default mixed|null

Returns: mixed

set()

Set

Parameter Name Type Description
$name string
$value mixed

Returns: \ParametersInterface

toArray()

To array

Allow serialization back to standard array

Returns: mixed

toString()

To string

Allow serialization to query format; e.g., for PUT or POST requests

Returns: mixed

Top