public function getEndpoint() { if (!$this->_endpoint) { $this->_endpoint = $this->application->getMatchedEndpoint(); } return $this->_endpoint; }