ICanBoogie/HTTP v2.6.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Exception
    • HTTP
      • Headers
      • Request
      • RequestDispatcher

Classes

  • AlterEvent
  • BeforeDispatchEvent
  • DispatchEvent

Class AlterEvent

Event class for the ICanBoogie\HTTP\RequestDispatcher::alter event.

Event hooks may use this event to register domain dispatchers.

ICanBoogie\Event
Extended by ICanBoogie\HTTP\RequestDispatcher\AlterEvent
Namespace: ICanBoogie\HTTP\RequestDispatcher
Located at RequestDispatcher/AlterEvent.php

Methods summary

protected ICanBoogie\HTTP\RequestDispatcher
# get_instance( )

Returns

ICanBoogie\HTTP\RequestDispatcher
protected
# set_instance( ICanBoogie\HTTP\RequestDispatcher $dispatcher )

Parameters

$dispatcher
public
# __construct( ICanBoogie\HTTP\RequestDispatcher & $target )

The event is constructed with the type alter.

The event is constructed with the type alter.

Parameters

$target
public
# insert( string $id, mixed $dispatcher, integer $weight = 0 )

Inserts a dispatcher.

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.

Properties summary

Magic properties

public ICanBoogie\HTTP\RequestDispatcher $instance
ICanBoogie/HTTP v2.6.0 API documentation generated by ApiGen