/** * @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); }
public function seed() { $this->seeder->setAllServiceProvidersFrom($this->componentsBaseFolder); $this->composer->setEnvironment($this->environment); $this->seeder->seedAll(); }