symfony / symfony/maker-bundle
Use dependency injection in make commands
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 427
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 20
Description
Hi I have a question
- why not use dependency injection in make commands ?
example generate an entity in with the doctrine config:
https://github.com/symfony/recipes/blob/master/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml#L13
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names Symfony Maker Bundle make commands and links to the Doctrine configuration example at doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml#L13. Start by reviewing that configuration and the existing make-command entry points, then clarify which commands should receive dependencies and what behavior would demonstrate completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, symfony
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100