X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/bd16cca32dea4c86fcec8df5292f53c4e3f1c45d..65b52d487e62e379197cf846e5c5359542e0c01b:/Entity/User.php diff --git a/Entity/User.php b/Entity/User.php index 3385a20..530ea4d 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -5,7 +5,8 @@ namespace Rapsys\AirBundle\Entity; use Rapsys\AirBundle\Entity\Application; use Rapsys\AirBundle\Entity\Group; -use Rapsys\AirBundle\Entity\Vote; +use Rapsys\AirBundle\Entity\Link; +use Rapsys\AirBundle\Entity\Snippet; use Rapsys\UserBundle\Entity\User as BaseUser; class User extends BaseUser { @@ -14,16 +15,6 @@ class User extends BaseUser { */ protected $phone; - /** - * @var string - */ - protected $donation; - - /** - * @var string - */ - protected $site; - /** * @var \Doctrine\Common\Collections\Collection */ @@ -224,7 +215,7 @@ class User extends BaseUser { * * @return User */ - public function addSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) { + public function addSnippet(Snippet $snippet) { $this->snippets[] = $snippet; return $this; @@ -235,7 +226,7 @@ class User extends BaseUser { * * @param \Rapsys\AirBundle\Entity\Snippet $snippet */ - public function removeSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) { + public function removeSnippet(Snippet $snippet) { $this->snippets->removeElement($snippet); }