You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.
Guzzle has recently pushed a big update as well as PSR-7 becoming more widely accepted. Instead of relying solely on Guzzle allow for the option to swap out request clients.
Would mainly effect methods below:
<?phpnamespaceRossedman\Teamwork;
useGuzzleHttp\ClientInterface;
useRossedman\Teamwork\Contracts\RequestableInterface;
classClientimplementsRequestableInterface {
/** * @param Guzzle $client * @param $key * @param $url */publicfunction__construct(ClientInterface$client, $key, $url)
{
$this->client = $client;
$this->key = $key;
$this->url = $url;
}
/** * Build Request * * build up request including authentication, body, * and string queries if necessary. This is where the bulk * of the data is build up to connect to Teamwork with. * * @param $endpoint * @param string $action * @param array $params * * @return $this */publicfunctionbuildRequest($endpoint, $action, $params = [], $query = null);
The text was updated successfully, but these errors were encountered:
Guzzle has recently pushed a big update as well as PSR-7 becoming more widely accepted. Instead of relying solely on Guzzle allow for the option to swap out request clients.
Would mainly effect methods below:
The text was updated successfully, but these errors were encountered: