public function processingModules() { foreach ($this->modulesConfiguration as $module) { $toGenerate = ConfigLoader::getInstance()->getAvaliableEntitiesFromConfig($module); foreach ($toGenerate as $entity) { $this->generate($entity, $module); } } return $this; }
public function __construct() { $this->modulesConfiguration = ConfigLoader::getInstance()->getModuleConfiguration(); }