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

Class BeforeActionEvent

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

Event hooks may use this event to provide a response for the action and cancel its execution.

ICanBoogie\Event
┗ ICanBoogie\Routing\ActionController\BeforeActionEvent
Namespace: ICanBoogie\Routing\ActionController
Package: ICanBoogie\Routing\ActionController
Located at ActionController/BeforeActionEvent.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