/**
  * @param \WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface|null $exceptionFactory
  * @param bool $includeOriginalMessageInResponse
  * @param bool $negotiate
  * @param bool $checkQueryParams
  * @param bool $lintBody
  */
 public function __construct(ExceptionFactoryInterface $exceptionFactory = null, $includeOriginalMessageInResponse = true, $negotiate = true, $checkQueryParams = true, $lintBody = true)
 {
     parent::__construct($includeOriginalMessageInResponse, $lintBody, false, $exceptionFactory);
     $this->negotiate = $negotiate;
     $this->checkQueryParams = $checkQueryParams;
 }
 /**
  * @param \WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface|null $exceptionFactory
  * @param SerializerInterface|null $serializer
  * @param bool $includeOriginalMessageInResponse
  * @param bool $lintBody
  * @param bool $validateBody
  */
 public function __construct(ExceptionFactoryInterface $exceptionFactory = null, SerializerInterface $serializer = null, $includeOriginalMessageInResponse = true, $lintBody = true, $validateBody = true)
 {
     parent::__construct($includeOriginalMessageInResponse, $lintBody, $validateBody, $exceptionFactory);
     $this->serializer = $serializer ? $serializer : new DefaultSerializer();
 }