Created
September 25, 2014 14:09
-
-
Save zburgermeiszter/b7617445d11b001fa2af to your computer and use it in GitHub Desktop.
Rebuild all doctrine entities
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
To rebuild entity "configs" | |
php app/console doctrine:mapping:import --force AcmeBlogBundle yml | |
To convert them to PHP annotation format: | |
php app/console doctrine:mapping:convert annotation ./src | |
To regenerate getters and setters: | |
php app/console doctrine:generate:entities AcmeBlogBundle | |
http://symfony.com/doc/2.3/cookbook/doctrine/reverse_engineering.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment