src/PHPDish/Bundle/UserBundle/Model/User.php
public function setProfile(ProfileInterface $profile)
    {
        $this->profile->clear();
        $profile->setUser($this);
        $this->profile[] = $profile;

        return $this;
    }
public function setProfile(ProfileInterface $profile)
    {
        $this->profile->clear();
        $profile->setUser($this);
        $this->profile[] = $profile;

        return $this;
    }
{@inheritdoc}