public function __construct(Connection $connection = null, HttpAdapterInterface $httpAdapter) { parent::__construct($connection); $this->httpAdapter = $httpAdapter; }