Skip to content

Commit

Permalink
[maker] final class configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed May 19, 2024
1 parent d17f9fa commit 297247e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions symfony/maker-bundle/1.60/config/packages/maker.yaml
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions symfony/maker-bundle/1.60/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bundles": {
"Symfony\\Bundle\\MakerBundle\\MakerBundle": ["dev"]
},
"aliases": ["maker", "generator", "make"],
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

0 comments on commit 297247e

Please sign in to comment.