fix name space from controllerslogic to controllerlogic

This commit is contained in:
omair saleh
2020-05-11 15:02:34 +08:00
parent 4b1930b9ee
commit bef4336eb2
43 changed files with 46 additions and 46 deletions
@@ -8,7 +8,7 @@ use App\Classes\CodeGenerator\Utils\FileUtil;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;
class ControllersLogicGenerator extends BaseGenerator
class ControllerLogicGenerator extends BaseGenerator
{
/** @var CommandData */
private $commandData;
@@ -34,7 +34,7 @@ class ControllersLogicGenerator extends BaseGenerator
$name = $type === 'list' ? str::pluralStudly($this->commandData->modelName) : str::singular($this->commandData->modelName);
$filename = str::studly($type.$name).'ControllerLogic.php';
$templateData = $this->generatorHelpers->get_template("Scaffold.ControllersLogic.".$type."_controller_logic");
$templateData = $this->generatorHelpers->get_template("Scaffold.ControllerLogic.".$type."_controller_logic");
$templateData = $this->generatorHelpers->fill_template($this->commandData->dynamicVars, $templateData);