__construct() public méthode

Constructor.
public __construct ( array $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]].
Exemple #1
0
 /**
  * @inheritdoc
  */
 public function __construct($config = [])
 {
     $config = $this->loadConfig($config);
     parent::__construct($config);
 }