Created
August 2, 2013 19:30
-
-
Save igor822/6142712 to your computer and use it in GitHub Desktop.
Generate mapping and entities from source
This file contains hidden or 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
// Convert Mapping | |
./vendor/doctrine/doctrine-module/bin/doctrine-module orm:convert-mapping --namespace="Application\\Entity\\" --force --from-database annotation ./module/Application/src/ | |
// Add methods | |
./vendor/doctrine/doctrine-module/bin/doctrine-module orm:generate-entities ./module/Application/src/ --generate-annotations=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment