Returns the request type the kernel is currently processing
@api
Return value
integer One of HttpKernelInterface::MASTER_REQUEST and
HttpKernelInterface::SUB_REQUEST
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Event/KernelEvent.php, line 85
Class
- KernelEvent
- Base class for events thrown in the HttpKernel component
Namespace
Symfony\Component\HttpKernel\Event
Code
public function getRequestType() {
return $this->requestType;
}