getBundle() public method
Returns the named asset bundle. This method will first look for the bundle in $bundles. If not found, it will treat $name as the class of the asset bundle and create a new instance of it.
public yii\web\AssetBundle getBundle ( $name, $publish = true )$name string
The class name of the asset bundle (without the leading backslash) $publish boolean
Whether to publish the asset files in the asset bundle before it is returned. If you set this false, you must manual