Class dmstr\web\AssetBundle

Inheritancedmstr\web\AssetBundle » yii\web\AssetBundle
Subclassesapp\assets\AppAsset, dmstr\modules\backend\assets\BackendAsset, dmstr\web\EmojifyJsAsset
Available since version4.0

Configuration for backend client script files.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
init() Initializes asset bundle with optional CSS/LESS development settings dmstr\web\AssetBundle

Method Details

init() public method

Initializes asset bundle with optional CSS/LESS development settings

If APP_ASSET_FORCE_PUBLISH is set, touch the asset folder with the highest mtime of all contained files. This will create a new folder in web/assets for every change and request made to the app assets.

public void init ( )