AssetRenderer

readonly class \TYPO3\CMS\Core\Page\AssetRenderer

Attributes

#[Autoconfigure]
$public: true

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 $assetCollector, EventDispatcherInterface $eventDispatcher) : mixed

Parameters

$assetCollector : AssetCollector
$eventDispatcher : EventDispatcherInterface

render()

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

Parameters

$assets : array
$template : string
$isInline : bool
$directive : Directive
$nonce : ConsumableNonce|null = null

Return values

string
On this page