public function findController($controller)
    {
        $file = $this->basePath("app/Controller/$controller.php");
        if($this->findFile($file)) {
            return true;
        }
        else {
            throw new Exception($file." Controller file is missing.");
            exit;
        }
    }
public function findController($controller)
    {
        $file = $this->basePath("app/Controller/$controller.php");
        if($this->findFile($file)) {
            return true;
        }
        else {
            throw new Exception($file." Controller file is missing.");
            exit;
        }
    }
public function findController ( $ controller ) { $ file = $ this -> basePath ( "app/Controller/$controller.php" ) ; if ( $ this -> findFile ( $ file ) ) { return true ; } else { throw new Exception ( $ file . " Controller file is missing." ) ; exit ; } }
Find a Controller.

@param   string  $controller
@return  bool
@throws  Exception
Find a Controller .