__construct() публичный Метод

Constructor.
public __construct ( string | array $paths = [] )
$paths string | array A path or an array of paths where to look for resources
Пример #1
0
 /**
  * Constructor.
  *
  * @param string       $cachePath
  * @param boolean      $cacheEnabled
  * @param string|array $paths        A path or an array of paths where to look for resources
  */
 public function __construct($cachePath, $cacheEnabled, $paths = array())
 {
     $this->cachePath = $cachePath;
     $this->cacheEnabled = (bool) $cacheEnabled;
     if (true === $this->cacheEnabled && file_exists($this->cachePath)) {
         $this->skipConfig = true;
         $this->mergedConfig = (require $this->cachePath);
     }
     parent::__construct($paths);
 }