Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 protected function initialize()
 {
     parent::initialize();
     foreach (glob("{$this->path}/*/theme.json") as $config) {
         $this->addPackage($this->loader->load($config));
     }
 }
 /**
  * {@inheritdoc}
  */
 protected function initialize()
 {
     parent::initialize();
     if (empty($this->packages)) {
         foreach (glob("{$this->path}/*/extension.json") as $config) {
             $this->addPackage($this->loader->load($config));
         }
     }
 }