public function getRequirement() { if (isset($this->route['requirement'])) { return $this->route['requirement']; } }