Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
doctrine:generate:entitiesSymfony2.0を使用して、コマンドを使用してゲッターとセッターを生成する方法をよく知っています。
doctrine:generate:entities
質問:コマンドにメソッドを必要としないプロパティを無視させるための注釈やパラメーターなどはありますか?
いいえ。ジェネレーターは、コーディング作業を行うためではなく、すばやく開始するために使用することを目的としています。したがって、エンティティを生成してから、不要なものをすべて削除します。