ActiveRecord\Errors::clear_model PHP 메소드

clear_model() 공개 메소드

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;
    }