AssetRenderer

class \TYPO3\CMS\Core\Page\AssetRenderer

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

render()

protected render(array $assets, string $template[, ConsumableNonce|null $nonce = null ]) : string

Parameters

$assets : array
$template : string
$nonce : ConsumableNonce|null = null

Return values

string
On this page