public function getFilenames()
    {
        $filenames = [];
        foreach ($this->filenames as $f) {
            foreach ($this->inclusiveFilters as $filter) {
                if (!preg_match($filter, $f)) {
                    continue 2;
                }
            }
            foreach ($this->exclusiveFilters as $filter) {
                if (preg_match($filter, $f)) {
                    continue 2;
                }
            }
            $filenames[] = $f;
        }

        return $filenames;
    }
public function getFilenames()
    {
        $filenames = [];
        foreach ($this->filenames as $f) {
            foreach ($this->inclusiveFilters as $filter) {
                if (!preg_match($filter, $f)) {
                    continue 2;
                }
            }
            foreach ($this->exclusiveFilters as $filter) {
                if (preg_match($filter, $f)) {
                    continue 2;
                }
            }
            $filenames[] = $f;
        }

        return $filenames;
    }
public function getFilenames ( ) { $ filenames = [ ] ; foreach ( $ this -> filenames as $ f ) { foreach ( $ this -> inclusiveFilters as $ filter ) { if ( ! preg_match ( $ filter , $ f ) ) { continue 2 ; } } foreach ( $ this -> exclusiveFilters as $ filter ) { if ( preg_match ( $ filter , $ f ) ) { continue 2 ; } } $ filenames [ ] = $ f ; } return $ filenames ; }
Get an array of file names that satisfy any added filters.

@return array
Get an array of file names that satisfy any added filters .