public function UserSingle7::getUsername

8.0.x UserSingle7.php public UserSingle7::getUsername()
7.x UserSingle7.php public UserSingle7::getUsername()
master UserSingle7.php public UserSingle7::getUsername()

Get a user's name.

Return value

string

Overrides UserSingleBase::getUsername

File

lib/Drush/User/UserSingle7.php, line 48

Namespace

Drush\User

Class

UserSingle7

Code

public function getUsername() {
  return $this->account->name;
}