class AssetExists extends AbstractExtension

class AssetExists

Properties

private mixed $projectDir

Methods

void
__construct(mixed $projectDir)

Constructor of class AssetExists

array
getFunctions()

Return the functions registered as twig extensions

bool
assetExists(mixed $asset)

function assetExists

Details

at line 36
void __construct(mixed $projectDir)

Constructor of class AssetExists

Parameters

mixed $projectDir

Return Value

void

at line 45
array getFunctions()

Return the functions registered as twig extensions

Return Value

array

at line 59
bool assetExists(mixed $asset)

function assetExists

Parameters

mixed $asset

Return Value

bool