Craft\Minimee_SettingsModel::validate PHP Method

validate() public method

Add custom validation rules to routine.
public validate ( Array $attributes = null, Bool $clearErrors = true ) : Bool
$attributes Array
$clearErrors Bool
return Bool
    public function validate($attributes = null, $clearErrors = true)
    {
        if ($clearErrors) {
            $this->clearErrors();
        }
        $this->validateCachePathAndUrl();
        return parent::validate($attributes, false);
    }