You are here

public function Twig_TemplateArrayAccessObject::offsetGet in Zircon Profile 8

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

File

vendor/twig/twig/test/Twig/Tests/TemplateTest.php, line 495

Class

Twig_TemplateArrayAccessObject

Code

public function offsetGet($name) {
  return array_key_exists($name, $this->attributes) ? $this->attributes[$name] : null;
}