ICanBoogie/Routing v2.4.0
  • Namespace
  • Class

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
Extended by 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 ICanBoogie\Routing\Route $route

The route.

The route.

#
public ICanBoogie\HTTP\Request $request

The request.

The request.

#
public ICanBoogie\HTTP\Response|null $response

Reference to the response.

Reference to the response.

#
ICanBoogie/Routing v2.4.0 API documentation generated by ApiGen