Class Controller
Class Controller.
- Minion\Controller implements Minion\ControllerInterface
Abstract
Namespace: Minion
Package: Minion
Author: Damian SzczerbiĆski dszczer@gmail.com
Located at Controller.php
Namespace: Minion
Package: Minion
Author: Damian SzczerbiĆski dszczer@gmail.com
Located at Controller.php
public
|
#
setContainer(
Dependency injection allowing access to framework instance and it's services. |
public
Symfony\Component\HttpFoundation\Response
|
|
public
string
|
#
renderText( string $path, array $arguments = [] )
Helper, render template under provided $path, but returns plain text instead of Response object. |
public
Symfony\Component\HttpFoundation\Response
|
#
createNotFoundException( string $message, Exception $lastException = null )
Helper, return response with 404 HTTP status code. |
public
Symfony\Component\HttpFoundation\Response
|
#
createNotAllowedException( string $message, Exception $lastException = null )
Helper, return response with 403 HTTP status code. |
public
string
|
#
generateUrl( string $route, array $params = [], integer $flag = Minion\UrlGeneratorInterface::ABSOLUTE_URL )
Helper, generate absolute URL path. |
public
mixed
|
protected
|
$container
Framework |