Method |
Description |
|
dispatchEvent ( string $name, Symfony\Component\EventDispatcher\Event $event ) : mixed |
Dispatch an event. |
|
flash ( string $key, mixed $value ) : void |
Flash something to the session. |
|
flashInput ( Request $request = null ) : void |
Flash input to session. |
|
flashMessages ( array $messages ) : void |
Flash an array of messages to the session. |
|
getEventDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface |
Get the event dispatcher instance. |
|
getLogger ( ) : Psr\Log\LoggerInterface |
Get the logger instance. |
|
getOldInput ( ) : array |
Get old input flashed to the session. |
|
getSession ( ) : Symfony\Component\HttpFoundation\Session\Session |
Get the session manager. |
|
json ( array $data, integer $statusCode = 200 ) : Symfony\Component\HttpFoundation\JsonResponse |
Create a JSON response. |
|
log ( string $level, string $message, array $context = [] ) : void |
Log a message. |
|
redirect ( string $name, array $params = [], integer $statusCode = 302 ) : RedirectResponse |
Create a redirect response. |
|
render ( string $name, array $data = [] ) : string |
Render a template. |
|
response ( string $content, integer $statusCode = 200 ) : Response |
Create a response. |
|
url ( string $name, array $params = [] ) : string |
Generate the URL to a route. |
|