classes/phing/types/PatternSet.php
private function makeArray(&$list, Project $p)
    {
        if (count($list) === 0) {
            return null;
        }

        $tmpNames = [];
        foreach ($list as $ne) {
            $pattern = (string) $ne->evalName($p);
            if ($pattern !== null && strlen($pattern) > 0) {
                $tmpNames[] = $pattern;
            }
        }

        return $tmpNames;
    }
private function makeArray(&$list, Project $p)
    {
        if (count($list) === 0) {
            return null;
        }

        $tmpNames = [];
        foreach ($list as $ne) {
            $pattern = (string) $ne->evalName($p);
            if ($pattern !== null && strlen($pattern) > 0) {
                $tmpNames[] = $pattern;
            }
        }

        return $tmpNames;
    }
private function makeArray ( & $ list , Project $ p ) { if ( count ( $ list ) === 0 ) { return null ; } $ tmpNames = [ ] ; foreach ( $ list as $ ne ) { $ pattern = ( string ) $ ne -> evalName ( $ p ) ; if ( $ pattern !== null && strlen ( $ pattern ) > 0 ) { $ tmpNames [ ] = $ pattern ; } } return $ tmpNames ; }
Convert a array of PatternSetNameEntry elements into an array of Strings.

@param array $list
@param Project $p

@return array
Convert a array of PatternSetNameEntry elements into an array of Strings .