protected function access($values, string $field)
    {
        return isset($values[$field]) ? $values[$field] : null;
    }
protected function access($values, string $field)
    {
        return isset($values[$field]) ? $values[$field] : null;
    }
protected function access ( $ values , string $ field ) { return isset ( $ values [ $ field ] ) ? $ values [ $ field ] : null ; }
Gets a field from the values.

This can be overridden to access by other means (e.g. object properties,
getter methods).

@param mixed $values The values
@param string $field The field to access
@return mixed The accessed value
Gets a field from the values .