/**
  * @param string $appKey
  * @param string $secretKey
  * @param ClientInterface $guzzleClient
  * @param CryptService $cryptService
  * @param Cache $cache Cache implementation to be used for caching public keys
  * @param int $publicKeyTTL Number of seconds a public key should live in the cache
  * @param LoggerInterface $logger
  */
 public function __construct($appKey, $secretKey, ClientInterface $guzzleClient, CryptService $cryptService, Cache $cache, $publicKeyTTL, LoggerInterface $logger = null)
 {
     parent::__construct($cache, $cryptService, $secretKey, $publicKeyTTL, $logger);
     $this->appKey = $appKey;
     $this->secretKey = $secretKey;
     $this->guzzleClient = $guzzleClient;
     $this->cryptService = $cryptService;
 }
 /**
  * WordPressApiService constructor.
  *
  * @param \WP_Http $http
  * @param CryptService $cryptService
  * @param Cache $cache
  * @param $publicKeyTTL
  * @param $appKey
  * @param $secretKey
  * @param LoggerInterface $logger
  */
 public function __construct(\WP_Http $http, CryptService $cryptService, Cache $cache, $publicKeyTTL, $appKey, $secretKey, $sslVerify, $apiBaseURL, $requestTimeout, LoggerInterface $logger = null)
 {
     parent::__construct($cache, $cryptService, $secretKey, $publicKeyTTL, $logger);
     $this->http = $http;
     $this->cryptService = $cryptService;
     $this->appKey = $appKey;
     $this->secretKey = $secretKey;
     $this->sslVerify = $sslVerify;
     $this->apiBaseURL = $apiBaseURL;
     $this->requestTimeout = $requestTimeout;
 }