class Twig_TemplateArrayAccessObject in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/test/Twig/Tests/TemplateTest.php \Twig_TemplateArrayAccessObject
Hierarchy
- class \Twig_TemplateArrayAccessObject implements \ArrayAccess
Expanded class hierarchy of Twig_TemplateArrayAccessObject
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ TemplateTest.php, line 476
View source
class Twig_TemplateArrayAccessObject implements ArrayAccess {
protected $protected = 'protected';
public $attributes = array(
'defined' => 'defined',
'zero' => 0,
'null' => null,
'1' => 1,
'bar' => true,
'09' => '09',
'+4' => '+4',
);
public function offsetExists($name) {
return array_key_exists($name, $this->attributes);
}
public function offsetGet($name) {
return array_key_exists($name, $this->attributes) ? $this->attributes[$name] : null;
}
public function offsetSet($name, $value) {
}
public function offsetUnset($name) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_TemplateArrayAccessObject:: |
public | property | ||
Twig_TemplateArrayAccessObject:: |
protected | property | ||
Twig_TemplateArrayAccessObject:: |
public | function | ||
Twig_TemplateArrayAccessObject:: |
public | function | ||
Twig_TemplateArrayAccessObject:: |
public | function | ||
Twig_TemplateArrayAccessObject:: |
public | function |