public function get($key) { if (isset($this->vars[$key]) and isset($this->vars[$key][0])) { return $this->vars[$key][0]; } else { throw new \Exception(ErrorMessage::config(1, $key, $this->file)); } }