Created
October 24, 2014 14:09
-
-
Save AkdM/49ae1d4115246a057526 to your computer and use it in GitHub Desktop.
Convert annotation to YAML for Symfony 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php app/console doctrine:mapping:convert --namespace="MySuper\DuperBundle\Entity\MyEntity" yaml src/MySuper/DuperBundle/Resources/config/doctrine | |
That command will convert the annotation file into yaml format into src/MySuper/DuperBundle/Resources/config/doctrine as MySuper.DuperBundle.Entity.MyEntity.orm.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On symfony 5, command should be something like