public function __construct(ValueBag $values, ValueBag $extra, \Exception $error = null) { $this->values = $values->all(); $this->valueBag = $values; $this->extra = $extra; $this->error = $error; }