Browse Source

OrderShop : fetch eager sur $user

develop
Guillaume 3 years ago
parent
commit
5b1fabdb14
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ShopBundle/Model/OrderShop.php

+ 1
- 1
ShopBundle/Model/OrderShop.php View File

protected $merchant; protected $merchant;


/** /**
* @ORM\ManyToOne(targetEntity="Lc\ShopBundle\Context\UserInterface", inversedBy="orders")
* @ORM\ManyToOne(targetEntity="Lc\ShopBundle\Context\UserInterface", inversedBy="orders", fetch="EAGER")
*/ */
protected $user; protected $user;



Loading…
Cancel
Save