class Runtime

internal  
 

Runtime helpers for Latte.

Methods

__construct(Registry $registry)

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 25
__construct(Registry $registry)

No description

Parameters

Registry $registry

at line 31
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 42
string renderAsset(Asset $asset)

No description

Parameters

Asset $asset

Return Value

string

at line 63
string renderAssetPreload(Asset $asset)

No description

Parameters

Asset $asset

Return Value

string

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

No description

Parameters

Asset $asset
string $tagName
array $usedAttributes

Return Value

string