class Runtime

internal  
 

Runtime helpers for Latte.

Methods

__construct(Registry $registry, string|false|null $nonce = null)

No description

Asset|null
resolve(Asset|null $asset, array $options, bool $try)

No description

string
renderAsset(Asset $asset)

No description

string
renderAssetPreload(Asset $asset)

No description

string
renderAttributes(Asset $asset, string $tagName, array $usedAttributes)

No description

Details

at line 27
__construct(Registry $registry, string|false|null $nonce = null)

No description

Parameters

Registry $registry
string|false|null $nonce

at line 34
Asset|null resolve(Asset|null $asset, array $options, bool $try)

No description

Parameters

Asset|null $asset
array $options
bool $try

Return Value

Asset|null

at line 45
string renderAsset(Asset $asset)

No description

Parameters

Asset $asset

Return Value

string

at line 66
string renderAssetPreload(Asset $asset)

No description

Parameters

Asset $asset

Return Value

string

at line 76
string renderAttributes(Asset $asset, string $tagName, array $usedAttributes)

No description

Parameters

Asset $asset
string $tagName
array $usedAttributes

Return Value

string