private function setMainController(string $route): bool
    {
        if (!\is_dir($route)) return false;

        foreach ($this->requestNames[$this->requestType] as $requestName)
        {
            $path = $route . '/' . $requestName;

            if (\is_file($path)) {
                $this->absolutePathToMainController = $path;
                return true;
            }
        }
        return false;
    }