Пример #1
0
 /**
  * @param string[] $defaultEmbeds
  */
 public function addDefaultEmbeds(array $defaultEmbeds)
 {
     $stringScope = $this->getStringScope();
     if ($stringScope) {
         array_walk($defaultEmbeds, function (&$value) use($stringScope) {
             $value = $stringScope . '.' . $value;
         });
     }
     $this->composerManager->addRequestedScopes($defaultEmbeds);
 }
Пример #2
0
 public function seed()
 {
     $this->seeder->setAllServiceProvidersFrom($this->componentsBaseFolder);
     $this->composer->setEnvironment($this->environment);
     $this->seeder->seedAll();
 }