__toString() public method

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