src/Utils/HelperMultiple.php
private static function find_multiple($name, $source, $option)
    {
        $sep    = Helper::arrGet($option, 'separator', '_');
        $suffix = explode(',', $option['suffix']);
        $lists  = [];
        foreach ($suffix as $sfx) {
            $name_sfx = $name . $sep . $sfx;
            if (array_key_exists($name_sfx, $source) && trim($source[$name_sfx])) {
                $lists[] = trim($source[$name_sfx]);
            }
        }

        return $lists;
    }
private static function find_multiple($name, $source, $option)
    {
        $sep    = Helper::arrGet($option, 'separator', '_');
        $suffix = explode(',', $option['suffix']);
        $lists  = [];
        foreach ($suffix as $sfx) {
            $name_sfx = $name . $sep . $sfx;
            if (array_key_exists($name_sfx, $source) && trim($source[$name_sfx])) {
                $lists[] = trim($source[$name_sfx]);
            }
        }

        return $lists;
    }
private static function find_multiple ( $ name , $ source , $ option ) { $ sep = Helper :: arrGet ( $ option , 'separator' , '_' ) ; $ suffix = explode ( ',' , $ option [ 'suffix' ] ) ; $ lists = [ ] ; foreach ( $ suffix as $ sfx ) { $ name_sfx = $ name . $ sep . $ sfx ; if ( array_key_exists ( $ name_sfx , $ source ) && trim ( $ source [ $ name_sfx ] ) ) { $ lists [ ] = trim ( $ source [ $ name_sfx ] ) ; } } return $ lists ; }
find multiples values from suffix list.

@param string $name
@param array $source
@param array $option
@return array
find multiples values from suffix list .