/**
* @var string
*/
- protected $donate;
-
- /**
- * @var string
- */
- protected $link;
+ protected $pseudonym;
/**
* @var string
/**
* @var string
*/
- protected $profile;
+ protected $slug;
/**
* @var ArrayCollection
//Call parent constructor
parent::__construct($mail);
+ //Set defaults
+ $this->pseudonym = null;
+ $this->phone = null;
+ $this->slug = null;
+
//Set collections
$this->applications = new ArrayCollection();
$this->dances = new ArrayCollection();
}
/**
- * Set donate
- *
- * @param string $donate
- *
- * @return User
- */
- public function setDonate(?string $donate): User {
- $this->donate = $donate;
-
- return $this;
- }
-
- /**
- * Get donate
- *
- * @return string
- */
- public function getDonate(): ?string {
- return $this->donate;
- }
-
- /**
- * Set link
+ * Set pseudonym
*
- * @param string $link
+ * @param string $pseudonym
*
* @return User
*/
- public function setLink(?string $link): User {
- $this->link = $link;
+ public function setPseudonym(?string $pseudonym): User {
+ $this->pseudonym = $pseudonym;
return $this;
}
/**
- * Get link
+ * Get pseudonym
*
* @return string
*/
- public function getLink(): ?string {
- return $this->link;
+ public function getPseudonym(): ?string {
+ return $this->pseudonym;
}
/**
}
/**
- * Set profile
+ * Set slug
*
- * @param string $profile
+ * @param string $slug
*
* @return User
*/
- public function setProfile(string $profile): User {
- $this->profile = $profile;
+ public function setSlug(?string $slug): User {
+ $this->slug = $slug;
return $this;
}
/**
- * Get profile
+ * Get slug
*
* @return string
*/
- public function getProfile(): ?string {
- return $this->profile;
+ public function getSlug(): ?string {
+ return $this->slug;
}
/**