private function callAfterFieldValidationMethod(Field $field)
    {
        $functionName = lcfirst($field->getName() . 'Validated');

        if (method_exists($this, $functionName)) {
            call_user_func([$this, $functionName]);
        }
    }
private function callAfterFieldValidationMethod(Field $field)
    {
        $functionName = lcfirst($field->getName() . 'Validated');

        if (method_exists($this, $functionName)) {
            call_user_func([$this, $functionName]);
        }
    }
private function callAfterFieldValidationMethod ( Field $ field ) { $ functionName = lcfirst ( $ field -> getName ( ) . 'Validated' ) ; if ( method_exists ( $ this , $ functionName ) ) { call_user_func ( [ $ this , $ functionName ] ) ; } }
After each field has been validated, a matching method can be called if
it exists in the child class.

The syntax is `{lowerCamelCaseFieldName}Validated()`.

Example: for field `firstName` - `firstNameValidated()`.

@param Field $field
After each field has been validated a matching method can be called if it exists in the child class .