|
|
|
|
|
|
|
|
$this->userMerchants = new ArrayCollection(); |
|
|
$this->userMerchants = new ArrayCollection(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function __toString() |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->getName(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public function getSummary() |
|
|
public function getSummary() |
|
|
{ |
|
|
{ |
|
|
return '#'.$this->getId().' '.strtoupper($this->getLastname()).' '.$this->getFirstname(). ' ('.$this->getEmail().')'; |
|
|
return '#'.$this->getId().' '.strtoupper($this->getLastname()).' '.$this->getFirstname(). ' ('.$this->getEmail().')'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function getName() |
|
|
public function getName() |
|
|
{ |
|
|
{ |
|
|
return $this->getFirstname().' '.strtoupper($this->getLastname()); |
|
|
|
|
|
|
|
|
return (string) ucfirst(strtolower($this->getFirstname())). ' '.strtoupper($this->getLastname()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function setEmail($email) |
|
|
public function setEmail($email) |