|
|
@@ -101,6 +101,11 @@ abstract class User extends UserModelFOS |
|
|
|
$this->userMerchants = new ArrayCollection(); |
|
|
|
} |
|
|
|
|
|
|
|
public function __toString() |
|
|
|
{ |
|
|
|
return $this->getName(); |
|
|
|
} |
|
|
|
|
|
|
|
public function getSummary() |
|
|
|
{ |
|
|
|
return '#'.$this->getId().' '.strtoupper($this->getLastname()).' '.$this->getFirstname(). ' ('.$this->getEmail().')'; |
|
|
@@ -108,7 +113,7 @@ abstract class User extends UserModelFOS |
|
|
|
|
|
|
|
public function getName() |
|
|
|
{ |
|
|
|
return $this->getFirstname().' '.strtoupper($this->getLastname()); |
|
|
|
return (string) ucfirst(strtolower($this->getFirstname())). ' '.strtoupper($this->getLastname()); |
|
|
|
} |
|
|
|
|
|
|
|
public function setEmail($email) |