» [Snippet] Bash script to generate Symfony2 doctrine filesTweet this
Hi Symfonians !
Here is a very basic bash script to help generate files for a given entity of your database, useful when you don't want to reverse engineer all the tables: (replace
MyNamespace by your own values)
PS: Note that the filter allow to generate more that one entity. (ex: "Product", "ProductFoo"...)