Class AlterEvent
Event class for the ICanBoogie\HTTP\RequestDispatcher::alter
event.
Event hooks may use this event to register domain dispatchers.
-
ICanBoogie\Event
-
┗
ICanBoogie\HTTP\RequestDispatcher\AlterEvent
Methods summary
public
insert( string $id
, mixed $dispatcher
, integer $weight
= 0 )
Inserts a dispatcher.
Parameters
$id
- RequestDispatcher identifier.
$dispatcher
- RequestDispatcher.
$weight
public
insert_before( string $id
, mixed $dispatcher
, string $reference
)
Inserts a dispatcher before another.
Inserts a dispatcher before another.
Parameters
$id
- RequestDispatcher identifier.
$dispatcher
- RequestDispatcher.
$reference
- Reference dispatcher identifier.
public
insert_after( string $id
, mixed $dispatcher
, string $reference
)
Inserts a dispatcher after another.
Inserts a dispatcher after another.
Parameters
$id
- RequestDispatcher identifier.
$dispatcher
- RequestDispatcher.
$reference
- Reference dispatcher identifier.
Constants summary
Properties summary
Magic properties