summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8510be1)
Remove donate, profile and link attributes
- protected $donate;
-
- /**
- * @var string
- */
- protected $link;
/**
* @var ArrayCollection
/**
* @var ArrayCollection
//Call parent constructor
parent::__construct($mail);
//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 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
+ * @param string $pseudonym
- public function setLink(?string $link): User {
- $this->link = $link;
+ public function setPseudonym(?string $pseudonym): User {
+ $this->pseudonym = $pseudonym;
- public function getLink(): ?string {
- return $this->link;
+ public function getPseudonym(): ?string {
+ return $this->pseudonym;
- * @param string $profile
- public function setProfile(string $profile): User {
- $this->profile = $profile;
+ public function setSlug(?string $slug): User {
+ $this->slug = $slug;
- public function getProfile(): ?string {
- return $this->profile;
+ public function getSlug(): ?string {
+ return $this->slug;