You are here

public function GetResponseEvent::hasResponse in Zircon Profile 8

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

Returns whether a response was set.

Return value

bool Whether a response was set

File

vendor/symfony/http-kernel/Event/GetResponseEvent.php, line 61

Class

GetResponseEvent
Allows to create a response for a request.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function hasResponse() {
  return null !== $this->response;
}