Methods summary
public
|
#
offsetSet( string $offset, mixed $value )
Assigns a value to the specified offset
Assigns a value to the specified offset
Parameters
- $offset
- offset to assign the value to
- $value
- value to set
Version
1.1
Since
1.1
Abstracting
ArrayAccess
Implementation of
ArrayAccess::offsetSet()
|
public
boolean
|
#
offsetExists( string $offset )
Whether or not an offset exists
Whether or not an offset exists
Parameters
- $offset
- offset to check for
Returns
boolean
Version
1.1
Since
1.1
Abstracting
ArrayAccess
Implementation of
ArrayAccess::offsetExists()
|
public
|
#
offsetUnset( string $offset )
Unsets an offset
Parameters
Version
1.1
Since
1.1
Abstracting
ArrayAccess
Implementation of
ArrayAccess::offsetUnset()
|
public
mixed
|
#
offsetGet( string $offset )
Returns the value at specified offset
Returns the value at specified offset
Parameters
- $offset
- offset to retrieve
Returns
mixed
Version
1.1
Since
1.1
Abstracting
ArrayAccess
Implementation of
ArrayAccess::offsetGet()
|
public
|
#
addValue( mixed $item )
Appends a value to the object
Appends a value to the object
This method is chainable.
Parameters
Version
1.0
Since
1.0
|
public
|
#
getIterator( )
Retrieve an external iterator.
Retrieve an external iterator.
Version
1.1
Since
1.0
Abstracting
IteratorAggregate
Implementation of
IteratorAggregate::getIterator()
|