FOF30\Factory\FactoryInterface::controller PHP Method

controller() public method

Create a new Controller object
public controller ( string $viewName, array $config = [] ) : Controller
$viewName string The name of the view we're getting a Controller for.
$config array Optional MVC configuration values for the Controller object.
return FOF30\Controller\Controller
    function controller($viewName, array $config = array());