AssetRenderer

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

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Properties

$assetCollector  : AssetCollector
$directiveHashCollection  : DirectiveHashCollection
$eventDispatcher  : EventDispatcherInterface
$resourceHashCollection  : ResourceHashCollection
$resourcePublisher  : SystemResourcePublisherInterface
$systemResourceFactory  : SystemResourceFactory

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, SystemResourcePublisherInterface $resourcePublisher, SystemResourceFactory $systemResourceFactory, ResourceHashCollection $resourceHashCollection, DirectiveHashCollection $directiveHashCollection) : mixed

Parameters

$assetCollector : AssetCollector
$eventDispatcher : EventDispatcherInterface
$resourcePublisher : SystemResourcePublisherInterface
$systemResourceFactory : SystemResourceFactory
$resourceHashCollection : ResourceHashCollection
$directiveHashCollection : DirectiveHashCollection

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