diff --git a/config/builder.php b/config/builder.php index 3190c0c7b..89c6e99ec 100644 --- a/config/builder.php +++ b/config/builder.php @@ -25,40 +25,40 @@ 'model' => [ 'path' => '%BasePath%\Models', 'namespace' => '%BaseNamespace%\\Models', - 'template' => __DIR__ . '/../src/Templates/Entity/model.php.stub', + 'template' => __DIR__.'/../src/Templates/Entity/model.php.stub', 'generator' => \Moox\Builder\Generators\Entity\ModelGenerator::class, ], 'resource' => [ 'path' => '%BasePath%\Resources', 'namespace' => '%BaseNamespace%\\Resources', - 'template' => __DIR__ . '/../src/Templates/Entity/resource.php.stub', + 'template' => __DIR__.'/../src/Templates/Entity/resource.php.stub', 'page_templates' => [ - 'List' => __DIR__ . '/../src/Templates/Entity/pages/list.php.stub', - 'Create' => __DIR__ . '/../src/Templates/Entity/pages/create.php.stub', - 'Edit' => __DIR__ . '/../src/Templates/Entity/pages/edit.php.stub', - 'View' => __DIR__ . '/../src/Templates/Entity/pages/view.php.stub', + 'List' => __DIR__.'/../src/Templates/Entity/pages/list.php.stub', + 'Create' => __DIR__.'/../src/Templates/Entity/pages/create.php.stub', + 'Edit' => __DIR__.'/../src/Templates/Entity/pages/edit.php.stub', + 'View' => __DIR__.'/../src/Templates/Entity/pages/view.php.stub', ], 'generator' => \Moox\Builder\Generators\Entity\ResourceGenerator::class, ], 'migration' => [ 'path' => 'database\migrations', - 'template' => __DIR__ . '/../src/Templates/Entity/migration.php.stub', + 'template' => __DIR__.'/../src/Templates/Entity/migration.php.stub', 'generator' => \Moox\Builder\Generators\Entity\MigrationGenerator::class, ], 'plugin' => [ 'path' => '%BasePath%\Filament\Plugins', 'namespace' => '%BaseNamespace%\\Filament\\Plugins', - 'template' => __DIR__ . '/../src/Templates/Entity/plugin.php.stub', + 'template' => __DIR__.'/../src/Templates/Entity/plugin.php.stub', 'generator' => \Moox\Builder\Generators\Entity\PluginGenerator::class, ], 'translation' => [ 'path' => 'lang\%locale%\entities', - 'template' => __DIR__ . '/../src/Templates/Entity/translation.php.stub', + 'template' => __DIR__.'/../src/Templates/Entity/translation.php.stub', 'generator' => \Moox\Builder\Generators\Entity\TranslationGenerator::class, ], 'config' => [ 'path' => 'config\entities', - 'template' => __DIR__ . '/../src/Templates/Entity/config.php.stub', + 'template' => __DIR__.'/../src/Templates/Entity/config.php.stub', 'generator' => \Moox\Builder\Generators\Entity\ConfigGenerator::class, ], ], @@ -70,25 +70,25 @@ 'model' => [ 'path' => '%BasePath%\app\Locale\Models', 'namespace' => '%BaseNamespace%\\Locale\\Models', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/model.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/model.php.stub', 'generator' => \Moox\Builder\Generators\Entity\ModelGenerator::class, ], 'resource' => [ 'path' => '%BasePath%\app\Locale\Resources', 'namespace' => '%BaseNamespace%\\Locale\\Resources', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/resource.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/resource.php.stub', 'page_templates' => [ - 'List' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/list.php.stub', - 'Create' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/create.php.stub', - 'Edit' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/edit.php.stub', - 'View' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/view.php.stub', + 'List' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/list.php.stub', + 'Create' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/create.php.stub', + 'Edit' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/edit.php.stub', + 'View' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/view.php.stub', ], 'generator' => \Moox\Builder\Generators\Entity\ResourceGenerator::class, ], 'plugin' => [ 'path' => '%BasePath%\app\Locale\Plugins', 'namespace' => '%BaseNamespace%\\Locale\\Plugins', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/plugin.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/plugin.php.stub', 'generator' => \Moox\Builder\Generators\Entity\PluginGenerator::class, ], //'migration' => [ @@ -98,12 +98,12 @@ //], 'translation' => [ 'path' => 'Locale\lang\%locale%\entities', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/translation.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/translation.php.stub', 'generator' => \Moox\Builder\Generators\Entity\TranslationGenerator::class, ], 'config' => [ 'path' => '%BasePath%\app\Locale\config\entities', - 'template' => __DIR__ . '/../src/Templates/Entity/config.php.stub', + 'template' => __DIR__.'/../src/Templates/Entity/config.php.stub', 'generator' => \Moox\Builder\Generators\Entity\ConfigGenerator::class, ], ], @@ -162,40 +162,40 @@ 'model' => [ 'path' => '%BasePath%\Locale\Models', 'namespace' => '%BaseNamespace%\\Locale\\Models', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/model.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/model.php.stub', 'generator' => \Moox\Builder\Generators\Entity\ModelGenerator::class, ], 'resource' => [ 'path' => '%BasePath%\Locale\Resources', 'namespace' => '%BaseNamespace%\\Locale\\Resources', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/resource.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/resource.php.stub', 'page_templates' => [ - 'List' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/list.php.stub', - 'Create' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/create.php.stub', - 'Edit' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/edit.php.stub', - 'View' => __DIR__ . '/../packages/builder/src/Templates/Entity/pages/view.php.stub', + 'List' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/list.php.stub', + 'Create' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/create.php.stub', + 'Edit' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/edit.php.stub', + 'View' => __DIR__.'/../packages/builder/src/Templates/Entity/pages/view.php.stub', ], 'generator' => \Moox\Builder\Generators\Entity\ResourceGenerator::class, ], 'plugin' => [ 'path' => '%BasePath%\Locale\Plugins', 'namespace' => '%BaseNamespace%\\Locale\\Plugins', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/plugin.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/plugin.php.stub', 'generator' => \Moox\Builder\Generators\Entity\PluginGenerator::class, ], 'translation' => [ 'path' => '%BasePath%\Locale\lang\%locale%\previews', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/translation.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/translation.php.stub', 'generator' => \Moox\Builder\Generators\Entity\TranslationGenerator::class, ], 'config' => [ 'path' => '%BasePath%\Locale\config\previews', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/config.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/config.php.stub', 'generator' => \Moox\Builder\Generators\Entity\ConfigGenerator::class, ], 'migration' => [ 'path' => '%BasePath%\Locale\database\migrations', - 'template' => __DIR__ . '/../packages/builder/src/Templates/Entity/migration.php.stub', + 'template' => __DIR__.'/../packages/builder/src/Templates/Entity/migration.php.stub', 'generator' => \Moox\Builder\Generators\Entity\MigrationGenerator::class, ], ],