file; } /** @return string */ public function getClass():string { return $this->class; } private function mountClass(string $namespace, string $class) { return (defined('NAMESPACE_PREFIX') ? NAMESPACE_PREFIX."\\" : "").str_replace("/", "\\", $namespace)."Controller\\".$class; } /** * * @param string $class * @return $this */ public function setClass($class) { $this->class = $class; return $this; } /** @return array */ public function getClassAlt():array { return $this->classAlt; } /** @return string */ public function getMethod():string { return $this->method; } /** @return array */ public function getArgs():array { return $this->args; } }