From 297247efc846f90b0bf8cecb63d01abebb73690e Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Sun, 19 May 2024 14:10:33 -0400 Subject: [PATCH] [maker] final class configuration --- symfony/maker-bundle/1.60/config/packages/maker.yaml | 12 ++++++++++++ symfony/maker-bundle/1.60/manifest.json | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 symfony/maker-bundle/1.60/config/packages/maker.yaml create mode 100644 symfony/maker-bundle/1.60/manifest.json diff --git a/symfony/maker-bundle/1.60/config/packages/maker.yaml b/symfony/maker-bundle/1.60/config/packages/maker.yaml new file mode 100644 index 000000000..7fd5b3448 --- /dev/null +++ b/symfony/maker-bundle/1.60/config/packages/maker.yaml @@ -0,0 +1,12 @@ +when@dev: + maker: + # tell MakerBundle that all of your classes live in an + # Acme namespace, instead of the default App + # (e.g. Acme\Entity\Article, Acme\Command\MyCommand, etc) + root_namespace: 'App' + + # Tell MakerBundle to make all non-entity classes it generates, "final". + generate_final_classes: true + + # Tell MakerBundle to make all entities it generates, "final". + generate_final_entities: false diff --git a/symfony/maker-bundle/1.60/manifest.json b/symfony/maker-bundle/1.60/manifest.json new file mode 100644 index 000000000..d8f4d89a4 --- /dev/null +++ b/symfony/maker-bundle/1.60/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Symfony\\Bundle\\MakerBundle\\MakerBundle": ["dev"] + }, + "aliases": ["maker", "generator", "make"], + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}