Returns whether a response was set
@api
Return value
Boolean Whether a response was set
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Event/GetResponseEvent.php, line 68
Class
- GetResponseEvent
- Allows to create a response for a request
Namespace
Symfony\Component\HttpKernel\Event
Code
public function hasResponse() {
return null !== $this->response;
}