Quantcast
Channel: Strangebuzz...? - Tag - bash
Viewing all articles
Browse latest Browse all 2

[Snippet] Bash script to generate Symfony2 doctrine files

$
0
0

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 MyBundle and MyNamespace by your own values)

./build_entities.sh Product


PS: Note that the filter allow to generate more that one entity. (ex: "Product", "ProductFoo"...)


Viewing all articles
Browse latest Browse all 2

Trending Articles