__construct() public method

public __construct ( WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, boolean $includeOriginalMessageInResponse = true )
$exceptionFactory WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
$includeOriginalMessageInResponse boolean
Example #1
0
 /**
  * @param bool $includeOriginalMessageInResponse
  */
 public function __construct(SerializerInterface $deserializer, ExceptionFactoryInterface $exceptionFactory, $includeOriginalMessageInResponse = true)
 {
     parent::__construct($exceptionFactory, $includeOriginalMessageInResponse);
     $this->deserializer = $deserializer;
 }
Example #2
0
 /**
  * @param \WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory
  * @param bool $includeOriginalMessageInResponse
  */
 public function __construct(ExceptionFactoryInterface $exceptionFactory, $includeOriginalMessageInResponse = true)
 {
     parent::__construct($exceptionFactory, $includeOriginalMessageInResponse);
 }