PHP Class Google\Cloud\RequestBuilder

Inheritance: use trait UriTrait
Afficher le fichier Open project: GoogleCloudPlatform/gcloud-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $servicePath, string $baseUri, array $resourceRoot = [] )
build ( string $resource, string $method, array $options = [] ) : Psr\Http\Message\RequestInterface Build the request.

Private Methods

Méthode Description
loadServiceDefinition ( string $servicePath ) : array

Method Details

__construct() public méthode

public __construct ( string $servicePath, string $baseUri, array $resourceRoot = [] )
$servicePath string
$baseUri string
$resourceRoot array [optional]

build() public méthode

Build the request.
public build ( string $resource, string $method, array $options = [] ) : Psr\Http\Message\RequestInterface
$resource string
$method string
$options array [optional]
Résultat Psr\Http\Message\RequestInterface