ICanBoogie
  • Documentation
  • API Reference
  • HTTP v2.5.0
Namespaces
  • ICanBoogie
    • Exception
    • HTTP
      • Headers
      • Request
      • RequestDispatcher
Classes
  • RescueEvent

Class RescueEvent

Event class for the Exception:rescue event type.

Third parties may use this event to provide a response for the exception.

ICanBoogie\Event
┗ ICanBoogie\Exception\RescueEvent
Namespace: ICanBoogie\Exception
Located at RescueEvent.php

Methods summary

protected get_response( void )
protected set_response( ICanBoogie\HTTP\Response $response = null )
protected get_exception( void )
protected set_exception( Exception $exception )
protected get_request( void )
public __construct( Exception & $target, ICanBoogie\HTTP\Request $request, ICanBoogie\HTTP\Response & $response = null )

The event is constructed with the type rescue.

The event is constructed with the type rescue.

Parameters

$target
$request
The request.
$response
Reference to the response.

Properties summary

Magic properties

public $exception : Exception
public $response : ICanBoogie\HTTP\Response
public read-only $request : ICanBoogie\HTTP\Request
HTTP v2.5.0 – Check on GitHub – API documentation generated by ApiGen