public static function getGenerator($moduleConfigurationArray, $createCommandStrategyName) { $commandStrategy = new TableGeneratorStrategyFactory($createCommandStrategyName); $generator = new TableGenerator($commandStrategy->getCommand()); $generator->parseConfiguration($moduleConfigurationArray); return $generator; }
public function execCommands(\AppBuilder\Models\TableGenerator\TableGenerator $generator) { $generator->runRelationsCommands(); $generator->runTablesCommands(); }