protected function getVariable($name) { return !isset($this->variables[$name]) ? null : $this->variables[$name]; }