private function &_getEndPoint() { if (!isset($this->_endPoint)) { throw new BadMethodCallException('Component must first be registered by calling register()'); } return $this->_endPoint; }