src/Builder/BaseTypeClassBuilder.php
private function useShortGetterName($field_name)
    {
        return substr($field_name, 0, 3) === 'is_' || in_array(substr($field_name, 0, 4), ['has_', 'had_', 'was_']) || in_array(substr($field_name, 0, 5), ['were_', 'have_']);
    }
private function useShortGetterName($field_name)
    {
        return substr($field_name, 0, 3) === 'is_' || in_array(substr($field_name, 0, 4), ['has_', 'had_', 'was_']) || in_array(substr($field_name, 0, 5), ['were_', 'have_']);
    }
private function useShortGetterName ( $ field_name ) { return substr ( $ field_name , 0 , 3 ) === 'is_' || in_array ( substr ( $ field_name , 0 , 4 ) , [ 'has_' , 'had_' , 'was_' ] ) || in_array ( substr ( $ field_name , 0 , 5 ) , [ 'were_' , 'have_' ] ) ; }
Return true if we should use a short getter name.

@param  string $field_name
@return bool
Return true if we should use a short getter name .