private function _prepare() { $position = new Uri\Position(0); $controller = $position->getSegment(); $this->controller = self::_getCapitalize($controller); return $this; }
private function _startUri() { $namespaceController = new Uri\ControllerToNamespaces(); $action = new Uri\Position(1); $this->_controller = $namespaceController->getSegment(); $this->_action = $action->getSegment(); }