public static function getTemplate($templateName, $templateType)
{
$path = self::getTemplateFilePath($templateName, $templateType);
return file_get_contents($path);
}
private function generateUpdateRequest() { $templateData = TemplateUtil::getTemplate('scaffold.request.update_request', 'laravel-generator'); $templateData = TemplateUtil::fillTemplate($this->commandData->dynamicVars, $templateData); FileUtil::createFile($this->path, $this->updateFileName, $templateData); $this->commandData->commandComment("\nUpdate Request created: "); $this->commandData->commandInfo($this->updateFileName); }