Url::toTemplateAsset()
Creates an absolute Url to a template asset if it exists. This is used in the css()
and js()
helpers
Parameters
Name | Type | Default |
---|---|---|
$assetPath * | string |
– |
$extension * | string |
– |
Return type
string
|null