You are here

public function KernelEvent::getRequestType in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Event/KernelEvent.php \Symfony\Component\HttpKernel\Event\KernelEvent::getRequestType()

Returns the request type the kernel is currently processing.

Return value

int One of HttpKernelInterface::MASTER_REQUEST and HttpKernelInterface::SUB_REQUEST

File

vendor/symfony/http-kernel/Event/KernelEvent.php, line 80

Class

KernelEvent
Base class for events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function getRequestType() {
  return $this->requestType;
}