Url::toTemplateAsset()
Creates an absolute Url to a template asset if it exists.
Parameters
Name | Type | Default |
---|---|---|
$assetPath * | string |
– |
$extension * | string |
– |
Return type
string
|null
Creates an absolute Url to a template asset if it exists.
Name | Type | Default |
---|---|---|
$assetPath * | string |
– |
$extension * | string |
– |
string
|null