Created
July 29, 2014 02:39
-
-
Save EuphoryX1/158bbda990bcde2f575a to your computer and use it in GitHub Desktop.
doctrine 既存データベースからエンティティを自動生成する
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:import "バンドル" annotation [--em=エンティティマネジャ名,省略時default] [--filter="対象となるテーブル指定"] | |
エンティティクラスが生成される。 | |
> php app/console doctrine:generate:entities Tvg/Review/WebBundle/Entity/Purchase | |
setter, getterが生成される。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment