You are here

class Twig_TemplateMagicPropertyObject in Zircon Profile 8.0

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

Hierarchy

Expanded class hierarchy of Twig_TemplateMagicPropertyObject

File

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

View source
class Twig_TemplateMagicPropertyObject {
  public $defined = 'defined';
  public $attributes = array(
    'zero' => 0,
    'null' => null,
    '1' => 1,
    'bar' => true,
    '09' => '09',
    '+4' => '+4',
  );
  protected $protected = 'protected';
  public function __isset($name) {
    return array_key_exists($name, $this->attributes);
  }
  public function __get($name) {
    return array_key_exists($name, $this->attributes) ? $this->attributes[$name] : null;
  }

}

Members