file; } /** * @deprecated 2.0.0 This method return only legacy class. Use getClassAlt instead. * @inheritdoc */ public function getClass() { return $this->class; } private function mountClass($namespace, $class, $withPrefix = true) { return ($withPrefix && Config::NAMESPACE_PREFIX() ? Config::NAMESPACE_PREFIX()."\\" : "").str_replace("/", "\\", (string) $namespace)."Controller\\".(string) $class; } /** * @inheritdoc */ public function setClass($class) { $this->class = $class; return $this; } /** @inheritdoc */ public function getClassAlt() { return $this->classAlt; } /** @inheritdoc */ public function getMethod() { return $this->method; } /** @inheritdoc */ public function getArgs() { return $this->args; } public function getRoute() { return $this->route; } }