Hi everyone,

I have entities mapped with Doctrine annotaions, like:

        /**
  * @orm:Id
 * @orm:Column(type="integer")
 * @orm:generatedValue(strategy="IDENTITY")
 */
protected $id = null;
 /**
 * @orm:Column(type="string", length=255, unique=true, nullable=false, 
name="email")
 */
protected $email;

In PR5, when I ran Doctrine:generate:entities command, it used to generate 
getters and setters for me. In PR6 however while generating getters and 
setters, it also duplicating my declarations in this way(and it also makes 
getters and setters for them, so I have two identically same instances of 
getters/setters and my variables):

    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var string $email
     */
    private $email;

What happend to this command?


btw the one-to-one relationship doesn't seem to work for me in PR6(didn't 
check in PR5 though):

/**
 * @OneToOne(targetEntity="UserInfo") 
 */
private $userInfo;

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to