ICanBoogie
  • Documentation
  • API Reference
  • Routing v2.3.0
Namespaces
  • ICanBoogie
    • Routing
      • ActionController
      • Controller
      • Dispatcher
      • Route
Classes
  • ActionEvent
  • BeforeActionEvent

Class ActionEvent

Event class for the ICanBoogie\Routing\ActionController::action event.

Event hooks may use this event to alter the response of the action.

ICanBoogie\Event
┗ ICanBoogie\Routing\ActionController\ActionEvent
Namespace: ICanBoogie\Routing\ActionController
Package: ICanBoogie\Routing\ActionController
Located at ActionController/ActionEvent.php

Methods summary

public __construct( ICanBoogie\Routing\ActionController $target, mixed & $response )

The event is constructed with the type 'action:before'.

The event is constructed with the type 'action:before'.

Parameters

$target
$response

Properties summary

public $response : mixed

Reference to the response returned by the controller.

Reference to the response returned by the controller.


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