You are here

class Twig_TemplateArrayAccessObject in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/TemplateTest.php \Twig_TemplateArrayAccessObject

Hierarchy

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