0
我想在我的表cookie,它在這裏表示爲ORM實體對象$cookie
取消設置爲空的外鍵:的Symfony2和教義設置外鍵爲空
$cookie->setFsession(new Doctrine_Null());
$this->em->persist($cookie);
$this->em->flush();
,但我得到
Fatal error: Class 'GroupConsulter\dotplus\FrontEndBundle\Doctrine_Null' not found
我錯過了什麼? 謝謝
Doctrine_Null不存在了。這不是symfony 1.x! –