web\AssetConverter runCommand()

runCommand() protected method

Runs a command to convert asset files.

protected boolean runCommand ( $command, $basePath, $asset, $result )
$command string

The command to run. If prefixed with an @ it will be treated as a path alias.

$basePath string

Asset base path and command working directory

$asset string

The name of the asset file

$result string

The name of the file to be generated by the converter command

return boolean

True on success, false on failure. Failures will be logged.

throws yii\base\Exception

when the command fails and YII_DEBUG is true. In production mode the error will be logged.

doc_Yii
2016-10-30 17:14:31
Comments
Leave a Comment

Please login to continue.