public function withModel(IlluminateModel $model)
    {
        // Set model for later validation
        $this->model = $model;

        // Set validation variables based on data
        $this->setValidationVariables($model->toArray());

        return $this;
    }