ICanBoogie
  • Documentation
  • API Reference
  • Routing v2.4.0
Namespaces
  • ICanBoogie
    • Routing
      • Controller
      • Dispatcher
      • Route
Classes
  • BeforeDispatchEvent
  • DispatchEvent

Class DispatchEvent

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

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

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

Methods summary

public __construct( ICanBoogie\Routing\Dispatcher $target, ICanBoogie\Routing\Route $route, ICanBoogie\HTTP\Request $request, mixed & $response )

The event is constructed with the type dispatch.

The event is constructed with the type dispatch.

Parameters

$target
$route
$request
$response

Properties summary

public $route : ICanBoogie\Routing\Route

The route.

The route.


		
public $request : ICanBoogie\HTTP\Request

The request.

The request.


		
public $response : ICanBoogie\HTTP\Response|null

Reference to the response.

Reference to the response.


		
Routing v2.4.0 – Check on GitHub – API documentation generated by ApiGen