Gc\User\Model::getName PHP Method

getName() public method

Return user name
public getName ( ) : string
return string
    public function getName()
    {
        return $this->getFirstname() . ' ' . $this->getLastname();
    }

Usage Example

Example #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testGetName()
 {
     $this->assertEquals('Test Test', $this->object->getName());
 }