public function register(Container $container)
    {
        /** @var Config $configuration */
        $configuration = $container['config'];

        $client = new Client([
            'timeout' => $configuration->timeout,
            'verify' => $configuration->sslVerifyHost,
        ]);

        return $client;
    }
public function register(Container $container)
    {
        /** @var Config $configuration */
        $configuration = $container['config'];

        $client = new Client([
            'timeout' => $configuration->timeout,
            'verify' => $configuration->sslVerifyHost,
        ]);

        return $client;
    }
public function register ( Container $ container ) { /** @var Config $configuration */ $ configuration = $ container [ 'config' ] ; $ client = new Client ( [ 'timeout' => $ configuration -> timeout , 'verify' => $ configuration -> sslVerifyHost , ] ) ; return $ client ; }
Create the Curl Service
@param Container $container
@return Client
Create the Curl Service