publishFile() защищенный Метод

Publishes a file.
protected publishFile ( string $src ) : string[]
$src string the asset file to be published
Результат string[] the path and the URL that the asset is published as.
Пример #1
0
 protected function publishFile($src)
 {
     throw new \yii\base\Exception('Not implemented!');
     //TODO: check custom behavior
     return parent::publishFile($src);
 }