public function __construct(HttpAdapterInterface $http, LoggerInterface $logger) { $this->http = $http; $this->logger = $logger; }