getRequestType is a function in the Symfony\Component\HttpKernel\Event\FilterControllerEvent class of the PHP Symfony framework. This function is used to retrieve the type of the request made to the application. The request type can be "master" if the request is the main one, "subrequest" if it is a subrequest, or null if the type cannot be determined. This information can be useful for handling different types of requests differently within the application.
PHP Symfony\Component\HttpKernel\Event FilterControllerEvent::getRequestType - 30 examples found. These are the top rated real world PHP examples of Symfony\Component\HttpKernel\Event\FilterControllerEvent::getRequestType extracted from open source projects. You can rate examples to help us improve the quality of examples.