public function __construct(CommandData $commandData) { $this->commandData = $commandData; $this->path = $commandData->config->pathViews; $this->templateType = config('infyom.laravel_generator.templates', 'core-templates'); }