ICanBoogie/Routing master
  • Namespace
  • Class

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
Extended by 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

string TYPE
# 'action:before'

Properties summary

public mixed $result

Reference to the result.

Reference to the result.

#
ICanBoogie/Routing master API documentation generated by ApiGen