Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Newscoop
GimmeBundle
Controller
ExceptionController
getFormat
Newscoop\GimmeBundle\Controller\ExceptionController::getFormat PHP Метод
Документация по классу ExceptionController
Показать файл
Открыть проект
getFormat()
защищенный
Метод
Determine the format to use for the response
protected
getFormat
(
Request
$request
,
string
$format
) :
string
$request
Symfony\Component\HttpFoundation\Request
Request instance
$format
string
The format to use for rendering (html, xml, ...)
Результат
string
Encoding format
protected function getFormat(Request $request, $format) { return 'json'; }
ExceptionController
createExceptionWrapper
getFormat
getParameters
showAction