public function __construct(array $vars, array $attributes = []) { parent::__construct($attributes); $this->vars = $this->addReadRef($vars); }