ICanBoogie
  • Documentation
  • API Reference
  • Operation v2.1.3
Namespaces
  • ICanBoogie
    • Operation
      • Dispatcher
Classes
  • BeforeDispatchEvent
  • DispatchEvent

Class DispatchEvent

Event class for the ICanBoogie\Operation\Dispatcher::dispatch event.

Third parties may use this event to alter the response before it is returned by the dispatcher.

ICanBoogie\Event
┗ ICanBoogie\Operation\Dispatcher\DispatchEvent
Namespace: ICanBoogie\Operation\Dispatcher
Located at Dispatcher/DispatchEvent.php

Methods summary

public __construct( ICanBoogie\Operation\Dispatcher $target, ICanBoogie\Operation $operation, ICanBoogie\HTTP\Request $request, ICanBoogie\HTTP\Response & $response )

The event is constructed with the type dispatch.

The event is constructed with the type dispatch.

Parameters

$target
$operation
$request
$response

Properties summary

public $operation : ICanBoogie\Operation

The operation.

The operation.


		
public $request : ICanBoogie\HTTP\Request

The request.

The request.


		
public $response : ICanBoogie\HTTP\Response|null

Reference to the response.

Reference to the response.


		
Operation v2.1.3 – Check on GitHub – API documentation generated by ApiGen