console\Application __construct()

__construct() public method

Constructor.

public void __construct ( $config = [] )
$config array

Name-value pairs that will be used to initialize the object properties. Note that the configuration must contain both $id and $basePath.

throws yii\base\InvalidConfigException

if either $id or $basePath configuration is missing.

doc_Yii
2016-10-30 16:54:40
Comments
Leave a Comment

Please login to continue.