/** * Register the aws.query visitor */ protected function init() { // @codeCoverageIgnoreStart if (!self::$queryVisitor) { self::$queryVisitor = new AwsQueryVisitor(); } // @codeCoverageIgnoreEnd $this->getRequestSerializer()->addVisitor('aws.query', self::$queryVisitor); }
/** * Register the aws.query visitor */ protected function init() { // @codeCoverageIgnoreStart if (!self::$queryVisitor) { self::$queryVisitor = new AwsQueryVisitor(); } if (!self::$xmlVisitor) { self::$xmlVisitor = new XmlResponseLocationVisitor(); } // @codeCoverageIgnoreEnd $this->getRequestSerializer()->addVisitor('aws.query', self::$queryVisitor); $this->getResponseParser()->addVisitor('xml', self::$xmlVisitor); }