src/FedoraApi.php
public function getResource(
        $uri = "",
        $headers = []
    ) {
        // Set headers
        $options = ['http_errors' => false, 'headers' => $headers];

        // Send the request.
        return $this->client->request(
            'GET',
            $uri,
            $options
        );
    }
public function getResource(
        $uri = "",
        $headers = []
    ) {
        // Set headers
        $options = ['http_errors' => false, 'headers' => $headers];

        // Send the request.
        return $this->client->request(
            'GET',
            $uri,
            $options
        );
    }
public function getResource ( $ uri = "" , $ headers = [ ] ) { // Set headers $ options = [ 'http_errors' => false , 'headers' => $ headers ] ; // Send the request. return $ this -> client -> request ( 'GET' , $ uri , $ options ) ; }
Gets a Fedora resource.

@param string    $uri            Resource URI
@param array     $headers        HTTP Headers

@return ResponseInterface
Gets a Fedora resource .