Skip to content

Commit

Permalink
Readd $id
Browse files Browse the repository at this point in the history
Avoid "Access level to Acme\UserBundle\Entity\User::$id must be protected (as in class FOS\UserBundle\Entity\User) or weaker" when you run `php app/console doctrine:generate:entities AcmeUserBundle` twice.
  • Loading branch information
BraisGabin committed May 24, 2013
1 parent c3b4044 commit df248a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ use FOS\UserBundle\Entity\User as BaseUser;
* User
*/
class User extends BaseUser {
/**
* @var integer
*/
protected $id;

public function __construct()
{
Expand Down

0 comments on commit df248a1

Please sign in to comment.