public function UserList::names

8.0.x UserList.php public UserList::names()
7.x UserList.php public UserList::names()
master UserList.php public UserList::names()

File

lib/Drush/User/UserList.php, line 127

Namespace

Drush\User

Class

UserList

Code

public function names() {
  $names = array();
  foreach ($this->accounts as $account) {
    $names[] = $account->getUsername();
  }
  return implode(', ', $names);
}