Core/Framework/Amvc/App/AbstractApp.php
public function getController(string $name = '')
    {
        if (empty($name)) {
            $name = $this->getComponentsName();
        }

        $controller = $this->MVCFactory($name, 'Controller');

        return $controller;
    }
public function getController(string $name = '')
    {
        if (empty($name)) {
            $name = $this->getComponentsName();
        }

        $controller = $this->MVCFactory($name, 'Controller');

        return $controller;
    }
public function getController ( string $ name = '' ) { if ( empty ( $ name ) ) { $ name = $ this -> getComponentsName ( ) ; } $ controller = $ this -> MVCFactory ( $ name , 'Controller' ) ; return $ controller ; }
Creates an app related controller object

@param string $name

@return Controller
Creates an app related controller object