Method | Description | |
---|---|---|
__construct ( array $args ) | ||
applyDocFilters ( array $api, array $docs ) | ||
getCommand ( $name, array $args = [] ) |
Method | Description | |
---|---|---|
getApiVersionMiddleware ( ) : callable | Creates a middleware that adds the API version header for all requests. | |
getChecksumsMiddleware ( ) : callable | Creates a middleware that updates a command with the content and tree hash headers for upload operations. |
public static applyDocFilters ( array $api, array $docs ) | ||
$api | array | |
$docs | array |
public getCommand ( $name, array $args = [] ) | ||
$args | array |