ICanBoogie/HTTP v2.4.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Exception
    • HTTP
      • Dispatcher
      • Headers
      • Request

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
Extended by ICanBoogie\Exception\RescueEvent
Namespace: ICanBoogie\Exception
Located at RescueEvent.php

Methods summary

protected
# get_response( )
protected
# set_response( ICanBoogie\HTTP\Response $response = null )
protected
# get_exception( )
protected
# set_exception( Exception $exception )
protected
# get_request( )
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 ICanBoogie\HTTP\Response $response
public read-only ICanBoogie\HTTP\Request $request
ICanBoogie/HTTP v2.4.0 API documentation generated by ApiGen