Merge branch 'docs/#1359-correcting-mapping-in-working-with-objects-reference' into 2.5
This commit is contained in:
commit
52288abf48
@ -821,9 +821,10 @@ in a central location.
|
|||||||
namespace MyDomain\Model;
|
namespace MyDomain\Model;
|
||||||
|
|
||||||
use Doctrine\ORM\EntityRepository;
|
use Doctrine\ORM\EntityRepository;
|
||||||
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @entity(repositoryClass="MyDomain\Model\UserRepository")
|
* @ORM\Entity(repositoryClass="MyDomain\Model\UserRepository")
|
||||||
*/
|
*/
|
||||||
class User
|
class User
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user