Skip to content

Commit

Permalink
fix service loading
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikoff authored Oct 29, 2017
1 parent 4d21c9a commit c65629e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Resources/config/console.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@
<tag name="console.command" command="doctrine:generate:form" />
</service>

<service id="Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator">
<argument type="service" id="filesystem" />
<argument>%kernel.root_dir%</argument>
<argument type="service" id="doctrine" />
</service>

<service id="Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCrudCommand">
<argument type="service" id="Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator" />
<argument type="service" id="Sensio\Bundle\GeneratorBundle\Generator\DoctrineFormGenerator"/>
<tag name="console.command" command="doctrine:generate:crud" />
</service>

Expand Down

0 comments on commit c65629e

Please sign in to comment.