You are here

public function KernelEvent::isMasterRequest 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::isMasterRequest()

Checks if this is a master request.

Return value

bool True if the request is a master request

File

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

Class

KernelEvent
Base class for events thrown in the HttpKernel component.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function isMasterRequest() {
  return HttpKernelInterface::MASTER_REQUEST === $this->requestType;
}