src/sb/Gitlab/User.php
protected function getByEmail($email) {
        $users = $this->_client->get('/users?search='.urlencode($email));
        return isset($users[0]) ? $users[0] : false;
    }
protected function getByEmail($email) {
        $users = $this->_client->get('/users?search='.urlencode($email));
        return isset($users[0]) ? $users[0] : false;
    }
protected function getByEmail ( $ email ) { $ users = $ this -> _client -> get ( '/users?search=' . urlencode ( $ email ) ) ; return isset ( $ users [ 0 ] ) ? $ users [ 0 ] : false ; }
Loads a user by email
@param string $email
@return \stdClass
Loads a user by email