__toString() public méthode

public __toString ( )
Exemple #1
0
 public function __toString()
 {
     if (null !== $this->getFullName() && $this->getFullName() != '') {
         return $this->getFullName();
     }
     return parent::__toString();
 }
Exemple #2
0
 public function __toString()
 {
     parent::__toString();
     return $this->getUsername();
 }