publishFile() protected method
Publishes a file.
| protected array publishFile ( $src ) | ||
|---|---|---|
| $src | string |
The asset file to be published |
| return | array |
The path and the URL that the asset is published as. |
| throws | yii\base\InvalidParamException |
if the asset to be published does not exist. |
Please login to continue.