protected static function expandWildcardedIncludes(array $includes)
    {
        if (empty($includes)) {
            return $includes;
        }
        $expandedIncludes = [];
        foreach ($includes as $include) {
            $expandedIncludes = array_merge($expandedIncludes, self::expandWildcardsFor($include));
        }
        return $expandedIncludes;
    }
protected static function expandWildcardedIncludes(array $includes)
    {
        if (empty($includes)) {
            return $includes;
        }
        $expandedIncludes = [];
        foreach ($includes as $include) {
            $expandedIncludes = array_merge($expandedIncludes, self::expandWildcardsFor($include));
        }
        return $expandedIncludes;
    }
protected static function expandWildcardedIncludes ( array $ includes ) { if ( empty ( $ includes ) ) { return $ includes ; } $ expandedIncludes = [ ] ; foreach ( $ includes as $ include ) { $ expandedIncludes = array_merge ( $ expandedIncludes , self :: expandWildcardsFor ( $ include ) ) ; } return $ expandedIncludes ; }
Replaces wildcarded items in include array with real paths.

@param $includes
@return array
@throws ConfigurationException
Replaces wildcarded items in include array with real paths .