$basePath public property
The Web-accessible directory that contains the asset files in this bundle. If $sourcePath is set, this property will be overwritten by yii\web\AssetManager when it publishes the asset files from $sourcePath. You can use either a directory or an alias of the directory.
public string $basePath = null