Метод | Описание | |
---|---|---|
__construct ( |
||
onKernelRequest ( |
Sets the applicable format to the HttpFoundation Request. |
Метод | Описание | |
---|---|---|
addRequestFormats ( |
Adds API formats to the HttpFoundation Request. | |
getNotAcceptableHttpException ( string $accept, array $mimeTypes = null ) : Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException | Retrieves an instance of NotAcceptableHttpException. | |
populateMimeTypes ( ) | Populates the $mimeTypes property. |
public __construct ( |
||
$negotiator | ||
$formats | array |
public onKernelRequest ( |
||
$event |