Documentation

onBuildIncludesAction extends wrapper
in package

Extending the wrapper class.

Table of Contents

$url_pattern  : string|null
A property that is used to filter the events.
onBeforeSend()  : void
Used to build the result.
onBuildCache()  : void
A method that is called when the event `EVENT_BUILD_CACHE` is triggered.
onBuildContext()  : void
A method that is called when the event `EVENT_BUILD_CONTEXT` is triggered.
onBuildException()  : void
Used to execute code when an exception is thrown.
onBuildHeaders()  : void
A method that is called when the event `EVENT_BUILD_HEADERS` is triggered.
onBuildIncludes()  : void
A method that is called when the event `EVENT_BUILD_INCLUDES` is triggered.
onBuildRequest()  : void
A method that is called when the event `EVENT_BUILD_REQUEST` is triggered.
onCheck()  : void
Used to check if the event should be executed.
onComplete()  : void
Used to execute code when the headers are received.
onFinal()  : void
Used to execute code when the request is completed.
onSend()  : void
Used to execute code when the request is sent.
onSent()  : void
Used to execute code before the request is sent.
onWrite()  : void
Used to execute code when the headers are received.
subscribe()  : void
Subscribing to all the events.
route()  : void
A method that is used to route the events to the appropriate methods.

Properties

$url_pattern

A property that is used to filter the events.

protected string|null $url_pattern = null

Methods

onBeforeSend()

Used to build the result.

public onBeforeSend() : void
Return values
void

onBuildCache()

A method that is called when the event `EVENT_BUILD_CACHE` is triggered.

public onBuildCache() : void
Return values
void

onBuildContext()

A method that is called when the event `EVENT_BUILD_CONTEXT` is triggered.

public onBuildContext() : void
Return values
void

onBuildException()

Used to execute code when an exception is thrown.

public onBuildException(Exception $e) : void
Parameters
$e : Exception
Return values
void

onBuildHeaders()

A method that is called when the event `EVENT_BUILD_HEADERS` is triggered.

public onBuildHeaders() : void
Return values
void

onBuildIncludes()

A method that is called when the event `EVENT_BUILD_INCLUDES` is triggered.

public onBuildIncludes() : void
Return values
void

onBuildRequest()

A method that is called when the event `EVENT_BUILD_REQUEST` is triggered.

public onBuildRequest() : void
Return values
void

onCheck()

Used to check if the event should be executed.

public onCheck() : void
Return values
void

onComplete()

Used to execute code when the headers are received.

public onComplete() : void
Return values
void

onFinal()

Used to execute code when the request is completed.

public onFinal() : void
Return values
void

onSend()

Used to execute code when the request is sent.

public onSend() : void
Return values
void

onSent()

Used to execute code before the request is sent.

public onSent() : void
Return values
void

onWrite()

Used to execute code when the headers are received.

public onWrite() : void
Return values
void

subscribe()

Subscribing to all the events.

public final subscribe(yP $dispatcher) : void
Parameters
$dispatcher : yP
Return values
void

route()

A method that is used to route the events to the appropriate methods.

private route(string $event_name) : void
Parameters
$event_name : string
Return values
void

Search results