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

All the class properties except 'js' and 'css' are accepted here. Also, an extra option 'autoload' may be passed containing an array of assets and/or collections that will be automatically added on startup.
public config ( array $config ) : Manager
$config array Configurable options.
Результат Manager
Пример #1
0
 /**
  * Set up configuration options.
  *
  * All the class properties except 'js' and 'css' are accepted here.
  * Also, an extra option 'autoload' may be passed containing an array of
  * assets and/or collections that will be automatically added on startup.
  *
  * @param  array   $config Configurable options.
  * @return Manager
  */
 public function config(array $config)
 {
     if (isset($config['collections_dir'])) {
         $this->collections_dir = $config['collections_dir'];
     } else {
         return parent::config($config);
         // @codeCoverageIgnore
     }
 }