web\AssetBundle $sourcePath

$sourcePath public property

The directory that contains the source asset files for this asset bundle. A source asset file is a file that is part of your source code repository of your Web application.

You must set this property if the directory containing the source asset files is not Web accessible. By setting this property, yii\web\AssetManager will publish the source asset files to a Web-accessible directory automatically when the asset bundle is registered on a page.

If you do not set this property, it means the source asset files are located under $basePath.

You can use either a directory or an alias of the directory.

See also $publishOptions.

public string $sourcePath = null
doc_Yii
2016-10-30 17:14:29
Comments
Leave a Comment

Please login to continue.