public function all()
    {
        $endpoint = '/admin/users.json';
        $response = $this->request($endpoint);
        return $this->createCollection(User::class, $response['users']);
    }
public function all()
    {
        $endpoint = '/admin/users.json';
        $response = $this->request($endpoint);
        return $this->createCollection(User::class, $response['users']);
    }
public function all ( ) { $ endpoint = '/admin/users.json' ; $ response = $ this -> request ( $ endpoint ) ; return $ this -> createCollection ( User :: class , $ response [ 'users' ] ) ; }
Receive a list of all Users

@link   https://help.shopify.com/api/reference/user#index
@return User[]
Receive a list of all Users