Skip to content

Instantly share code, notes, and snippets.

Created December 4, 2020 06:17
What would you like to do?
namespace Customize\Factory;
use GuzzleHttp\Client;
class HttpClientFactory
public static function create($baseUri)
return new Client(['base_uri' => $baseUri, 'timeout' => 10]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment