FOF30\Factory\FactoryInterface::view PHP Method

view() public method

Create a new View object
public view ( string $viewName, string $viewType = 'html', array $config = [] ) : View
$viewName string The name of the view we're getting a View object for.
$viewType string The type of the View object. By default it's "html".
$config array Optional MVC configuration values for the View object.
return FOF30\View\View
    function view($viewName, $viewType = 'html', array $config = array());