public function __construct(CommandData $commandData)
{
$this->commandData = $commandData;
$this->path = config('infyom.laravel_generator.path.views', base_path('resources/views/')) . $commandData->getAddOn('menu.menu_file');
$this->templateType = config('infyom.laravel_generator.templates', 'core-templates');
$this->menuContents = file_get_contents($this->path);
$this->menuTemplate = TemplateUtil::getTemplate('scaffold.layouts.menu_template', $this->templateType);
$this->menuTemplate = TemplateUtil::fillTemplate($this->commandData->dynamicVars, $this->menuTemplate);
}