1
0
mirror of synced 2025-03-05 04:13:20 +03:00

Corrected annotation for sample code: moved repositoryClass attribute from @Table to @Entity.

This commit is contained in:
asartalo 2011-04-24 13:24:54 +08:00
parent 3cac853dd4
commit 16f132bff0

View File

@ -1244,7 +1244,8 @@ we have to adjust the metadata slightly.
<?php
/**
* @Entity @Table(name="bugs", repositoryClass="BugRepository")
* @Entity(repositoryClass="BugRepository")
* @Table(name="bugs")
*/
class Bug
{