ICanBoogie/HTTP master
  • Namespace
  • Class

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

Methods summary

protected ICanBoogie\HTTP\Response|null
# get_response( )

Returns

ICanBoogie\HTTP\Response|null
protected
# set_response( ICanBoogie\HTTP\Response $response = null )

Parameters

$response
protected Exception
# get_exception( )

Returns

Exception
protected
# set_exception( Exception $exception )

Parameters

$exception
protected ICanBoogie\HTTP\Request
# get_request( )

Returns

ICanBoogie\HTTP\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.

Constants summary

string TYPE
# 'rescue'

Properties summary

Magic properties

public Exception $exception
public ICanBoogie\HTTP\Response $response
public read-only ICanBoogie\HTTP\Request $request
ICanBoogie/HTTP master API documentation generated by ApiGen