AssetRenderer

Internal

The AssetRenderer is used for the asset rendering and is not public API

Table of Contents

Properties

$assetCollector  : AssetCollector
$eventDispatcher  : EventDispatcherInterface

Methods

__construct()  : mixed
renderInlineJavaScript()  : string
renderInlineStyleSheets()  : string
renderJavaScript()  : string
renderStyleSheets()  : string
render()  : string

Properties

$eventDispatcher

protected EventDispatcherInterface $eventDispatcher

Methods

__construct()

public __construct([AssetCollector|null $assetCollector = null ][, EventDispatcherInterface|null $eventDispatcher = null ]) : mixed
Parameters
$assetCollector : AssetCollector|null = null
$eventDispatcher : EventDispatcherInterface|null = null

renderInlineJavaScript()

public renderInlineJavaScript([mixed $priority = false ]) : string
Parameters
$priority : mixed = false
Return values
string

renderInlineStyleSheets()

public renderInlineStyleSheets([mixed $priority = false ]) : string
Parameters
$priority : mixed = false
Return values
string

renderJavaScript()

public renderJavaScript([mixed $priority = false ]) : string
Parameters
$priority : mixed = false
Return values
string

renderStyleSheets()

public renderStyleSheets([bool $priority = false ][, string $endingSlash = '' ]) : string
Parameters
$priority : bool = false
$endingSlash : string = ''
Return values
string

render()

protected render(array<string|int, mixed> $assets, string $template) : string
Parameters
$assets : array<string|int, mixed>
$template : string
Return values
string

        
On this page

Search results