public function listEndpoints() {
    $uri = new URIResource($this->path, array($this->id, "endpoints"));

    return new EndpointsCollection(new DataPacketCollection($this->client->get((string) $uri)));
  }
public function listEndpoints() {
    $uri = new URIResource($this->path, array($this->id, "endpoints"));

    return new EndpointsCollection(new DataPacketCollection($this->client->get((string) $uri)));
  }
public function listEndpoints ( ) { $ uri = new URIResource ( $ this -> path , array ( $ this -> id , "endpoints" ) ) ; return new EndpointsCollection ( new DataPacketCollection ( $ this -> client -> get ( ( string ) $ uri ) ) ) ; }
List all the endpoints
for a given Domain.

@returns EndpointsCollection
List all the endpoints for a given Domain .