在更新到Symfony 4.4之后,我得到了以下弃用警告Support for mapping keys in multi-line blocks is deprecated since Symfony4.3 and will throw a ParseException in 5.0. 2x in AccountControllerTest::testSettings from App\Tests来自应用\测试\控制器的testSettings: public function testSett
ShoppingCart,它有一组CartItem对象.When我保存购物车,所有的cartitems也是saved.When买家确认购买,我需要清除shoppingcart.If我现在将购物车保存到数据库中,应该如何处理已经保存在数据库中并与购物车关联的cartitems ?我应该从数据库中删除它们吗?@Entity...public ShoppingCart cart;
pu