Options
class Options implements ArrayAccess
Abstract options wrapper
Constants
DATETIME_FORMAT |
A Dropbox-friendly timestamp wrapper |
Methods
__construct(
array $defaults = array())
Options constructor.
boolean
offsetExists(
string $offset)
Whether a offset exists
mixed
offsetGet(
string $offset)
Offset to retrieve
offsetSet(
string $offset,
mixed $value)
Offset to set
offsetUnset(
string $offset)
Offset to unset
static
Options
merge(
array $options)
Create an Options object from a combination of configuration arrays and other option objects
array
toArray()
Return the generated options
Details
at line line 40
__construct(
array $defaults = array())
Options constructor.
at line line 55
boolean
offsetExists(
string $offset)
Whether a offset exists
at line line 69
mixed
offsetGet(
string $offset)
Offset to retrieve
at line line 82
offsetSet(
string $offset,
mixed $value)
Offset to set
at line line 94
offsetUnset(
string $offset)
Offset to unset
at line line 107
static
Options
merge(
array $options)
Create an Options object from a combination of configuration arrays and other option objects
at line line 127
array
toArray()
Return the generated options