Skip to content

Commit

Permalink
Merge branch 'docs/#1359-correcting-mapping-in-working-with-objects-r…
Browse files Browse the repository at this point in the history
…eference'
  • Loading branch information
Ocramius committed Apr 2, 2015
2 parents f20de54 + 3b6616f commit f495dfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/en/reference/working-with-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit f495dfc

Please sign in to comment.