console\controllers\AssetController setAssetManager()

setAssetManager() public method Sets asset manager instance or configuration. public void setAssetManager ( $assetManager )$assetManager yii\web\AssetManager|array Asset manager instance or its array configuration. throws yii\console\Exception on invalid argument type.

console\controllers\BaseMigrateController $defaultAction

$defaultAction public property The default command action. public string $defaultAction = 'up'

console\controllers\AssetController loadTargets()

loadTargets() protected method Creates full list of output asset bundles. protected yii\web\AssetBundle[] loadTargets ( $targets, $bundles )$targets array Output asset bundles configuration. $bundles yii\web\AssetBundle[] List of source asset bundles. return yii\web\AssetBundle[] List of output asset bundles. throws yii\console\Exception on failure.

console\controllers\AssetController registerBundle()

registerBundle() protected method Registers asset bundles including their dependencies. protected void registerBundle ( $bundles, $name, &$registered )$bundles yii\web\AssetBundle[] Asset bundles list. $name string Bundle name. $registered array Stores already registered names. throws yii\console\Exception if circular dependency is detected.

console\controllers\AssetController loadDependency()

loadDependency() protected method Loads asset bundle dependencies recursively. protected void loadDependency ( $bundle, &$result )$bundle yii\web\AssetBundle Bundle instance $result array Already loaded bundles list. throws yii\console\Exception on failure.

console\controllers\AssetController compressJsFiles()

compressJsFiles() protected method Compresses given JavaScript files and combines them into the single one. protected void compressJsFiles ( $inputFiles, $outputFile )$inputFiles array List of source file names. $outputFile string Output file name. throws yii\console\Exception on failure

console\controllers\AssetController loadBundles()

loadBundles() protected method Creates full list of source asset bundles. protected yii\web\AssetBundle[] loadBundles ( $bundles )$bundles string[] List of asset bundle names return yii\web\AssetBundle[] List of source asset bundles.

console\controllers\AssetController getAssetManager()

getAssetManager() public method Returns the asset manager instance. public yii\web\AssetManager getAssetManager ( )return yii\web\AssetManager Asset manager instance. throws yii\console\Exception on invalid configuration.

console\controllers\AssetController loadConfiguration()

loadConfiguration() protected method Applies configuration from the given file to self instance. protected void loadConfiguration ( $configFile )$configFile string Configuration file name. throws yii\console\Exception on failure.

console\controllers\AssetController combineJsFiles()

combineJsFiles() public method Combines JavaScript files into a single one. public void combineJsFiles ( $inputFiles, $outputFile )$inputFiles array Source file names. $outputFile string Output file name. throws yii\console\Exception on failure.