private function getUserLabel(ProjectAccess $access)
    {
        $account = $this->api()->getAccount($access);

        return sprintf('<info>%s</info> (%s)', $account['display_name'], $account['email']);
    }
private function getUserLabel(ProjectAccess $access)
    {
        $account = $this->api()->getAccount($access);

        return sprintf('<info>%s</info> (%s)', $account['display_name'], $account['email']);
    }
private function getUserLabel ( ProjectAccess $ access ) { $ account = $ this -> api ( ) -> getAccount ( $ access ) ; return sprintf ( '<info>%s</info> (%s)' , $ account [ 'display_name' ] , $ account [ 'email' ] ) ; }
Return a label describing a user.

@param \Platformsh\Client\Model\ProjectAccess $access

@return string
Return a label describing a user .