ActiveRecord\Errors::clear_model PHP Method

clear_model() public method

Nulls $model so we don't get pesky circular references. $model is only needed during the validation process and so can be safely cleared once that is done.
public clear_model ( )
    public function clear_model()
    {
        $this->model = null;
    }