src/validator/Validation.php
protected function getFieldValue($field, $data)
    {
        $value = null;
        if (isset($data[$field['name']])) {
            $value = $data[$field['name']];
        }
        return $value;
    }
protected function getFieldValue($field, $data)
    {
        $value = null;
        if (isset($data[$field['name']])) {
            $value = $data[$field['name']];
        }
        return $value;
    }
protected function getFieldValue ( $ field , $ data ) { $ value = null ; if ( isset ( $ data [ $ field [ 'name' ] ] ) ) { $ value = $ data [ $ field [ 'name' ] ] ; } return $ value ; }
Extracts the value of the field description from the data passed.

@param array $field
@param array $data
@return mixed
Extracts the value of the field description from the data passed .