Craft\Minimee_SettingsModel::validate PHP 메소드

validate() 공개 메소드

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