parameters:
    circle.restclient.class: Circle\RestClientBundle\Services\RestClient

services:
    circle.restclient:
        class: %circle.restclient.class%
        arguments: [ "@circle.curl" ]
    circle.curl:
        class: Circle\RestClientBundle\Services\Curl
        arguments: [ "@circle.curl.options.handler" ]
    circle.curl.options.handler:
        class: Circle\RestClientBundle\Services\CurlOptionsHandler
        arguments: [ %circle.restclient.curl.defaults% ]