ICanBoogie
  • Documentation
  • API Reference
  • Routing 4.0.x
Namespaces
  • ICanBoogie
    • Routing
      • Controller
      • Route
      • RouteDispatcher
Classes
  • ActionEvent
  • BeforeActionEvent
Traits
  • ActionTrait

Class BeforeActionEvent

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

Event hooks may use this event to alter the controller before the action is invoked, or provide a result and thus cancel the action.

ICanBoogie\Event
┗ ICanBoogie\Routing\Controller\BeforeActionEvent
Namespace: ICanBoogie\Routing\Controller
Located at Controller/BeforeActionEvent.php

Methods summary

public __construct( ICanBoogie\Routing\Controller $target, string & $result )

The event is constructed with the type self::TYPE.

The event is constructed with the type self::TYPE.

Parameters

$target
$result

Constants summary

TYPE : string
'action:before'

Properties summary

public $result : mixed

Reference to the result.

Reference to the result.


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