applyTo() public method
Converts a file to a themed file if possible.
If there is no corresponding themed file, the original file will be returned.
| public string applyTo ( $path ) | ||
|---|---|---|
| $path | string |
The file to be themed |
| return | string |
The themed file, or the original file if the themed version is not available. |
| throws | yii\base\InvalidConfigException |
if $basePath is not set |
Please login to continue.