Documentation

AssetsPlugin extends Injectable
in package

The Assets plugin manages all assets (CSS/JS) on application.

Table of Contents

afterDispatch()  : void
Trigre after dispatch to set full path to assets
beforeDispatch()  : void
The event is called before the controller action.

Methods

afterDispatch()

Trigre after dispatch to set full path to assets

public afterDispatch(Event $event, Dispatcher $dispatcher) : void
Parameters
$event : Event

Application event

$dispatcher : Dispatcher

Application dispatcher

Return values
void

beforeDispatch()

The event is called before the controller action.

public beforeDispatch(Event $event, Dispatcher $dispatcher) : void

Create assets collections.

Parameters
$event : Event

Application event

$dispatcher : Dispatcher

Application dispatcher

Return values
void

Search results