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.
これは、目的の製品を取得し、symfony2 でその値を設定するための私のクエリです
$item->setProduct($id) ->setQuantity(1) ->setTemp($s1);
外部キーを使用している間は、使用する必要があります
(getReference('YourBundle:EntityName',$id)