Methods
Constructor
__construct(array $values) 
Enforces that we have an array, and enforces parameter access to array
elements.
Parameters
$values
array
  
 
append()
        
append() 
| inherited_from | 
ArrayObject::append() | 
  
 
asort()
        
asort() 
| inherited_from | 
ArrayObject::asort() | 
  
 
count()
        
count() 
| inherited_from | 
ArrayObject::count() | 
  
 
exchangeArray()
        
exchangeArray() 
| inherited_from | 
ArrayObject::exchangeArray() | 
  
 
Populate from native PHP array
fromArray(array $values) : void
Allow deserialization from standard array
Parameters
$values
array
  
 
Populate from query string
fromString(string $string) : void
Allow deserialization from raw body; e.g., for PUT requests
Parameters
$string
string
  
 
Get
get(string $name, mixed $default) : mixed
Parameters
$name
string
$default
mixedoptional default value
 
Returns
mixed
  
 
getArrayCopy()
        
getArrayCopy() 
| inherited_from | 
ArrayObject::getArrayCopy() | 
  
 
getFlags()
        
getFlags() 
| inherited_from | 
ArrayObject::getFlags() | 
  
 
getIterator()
        
getIterator() 
| inherited_from | 
ArrayObject::getIterator() | 
  
 
getIteratorClass()
        
getIteratorClass() 
| inherited_from | 
ArrayObject::getIteratorClass() | 
  
 
ksort()
        
ksort() 
| inherited_from | 
ArrayObject::ksort() | 
  
 
natcasesort()
        
natcasesort() 
| inherited_from | 
ArrayObject::natcasesort() | 
  
 
natsort()
        
natsort() 
| inherited_from | 
ArrayObject::natsort() | 
  
 
offsetExists()
        
offsetExists() 
| inherited_from | 
ArrayObject::offsetExists() | 
  
 
Retrieve by key
offsetGet(string $name) : mixed
Returns null if the key does not exist.
Parameters
$name
string
Returns
mixed
  
 
offsetSet()
        
offsetSet() 
| inherited_from | 
ArrayObject::offsetSet() | 
  
 
offsetUnset()
        
offsetUnset() 
| inherited_from | 
ArrayObject::offsetUnset() | 
  
 
serialize()
        
serialize() 
| inherited_from | 
ArrayObject::serialize() | 
  
 
setFlags()
        
setFlags() 
| inherited_from | 
ArrayObject::setFlags() | 
  
 
setIteratorClass()
        
setIteratorClass() 
| inherited_from | 
ArrayObject::setIteratorClass() | 
  
 
Serialize to native PHP array
toArray() : array
Allow serialization back to standard array
Returns
array
  
 
Serialize to query string
toString() : string
Allow serialization to query format; e.g., for PUT or POST requests
Returns
string
  
 
uasort()
        
uasort() 
| inherited_from | 
ArrayObject::uasort() | 
  
 
uksort()
        
uksort() 
| inherited_from | 
ArrayObject::uksort() | 
  
 
unserialize()
        
unserialize() 
| inherited_from | 
ArrayObject::unserialize() |