Dingo\Api\Exception\Handler::__construct PHP Method

__construct() public method

Create a new exception handler instance.
public __construct ( Illuminate\Contracts\Debug\ExceptionHandler $parentHandler, array $format, boolean $debug ) : void
$parentHandler Illuminate\Contracts\Debug\ExceptionHandler
$format array
$debug boolean
return void
    public function __construct(IlluminateExceptionHandler $parentHandler, array $format, $debug)
    {
        $this->parentHandler = $parentHandler;
        $this->format = $format;
        $this->debug = $debug;
    }