public function getVariable($name) { if (isset($this->data[$name])) { return $this->data[$name]; } return null; }