1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Merge branch 'docs/#1359-correcting-mapping-in-working-with-objects-reference'

This commit is contained in:
Marco Pivetta 2015-04-02 21:55:57 +01:00
commit f495dfcc9c

View File

@ -821,9 +821,10 @@ in a central location.
namespace MyDomain\Model;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @entity(repositoryClass="MyDomain\Model\UserRepository")
* @ORM\Entity(repositoryClass="MyDomain\Model\UserRepository")
*/
class User
{