src/Model/ApiResourceBase.php
protected static function checkUpdate(array $values)
    {
        $errors = [];
        foreach ($values as $key => $value) {
            $errors += static::checkProperty($key, $value);
        }
        return $errors;
    }
protected static function checkUpdate(array $values)
    {
        $errors = [];
        foreach ($values as $key => $value) {
            $errors += static::checkProperty($key, $value);
        }
        return $errors;
    }
protected static function checkUpdate ( array $ values ) { $ errors = [ ] ; foreach ( $ values as $ key => $ value ) { $ errors += static :: checkProperty ( $ key , $ value ) ; } return $ errors ; }
Validate values for update.

@param array $values

@return string[] An array of validation errors.
Validate values for update .