classes/phing/util/DirectoryScanner.php
public function getIncludedFiles(): array
    {
        if ($this->filesIncluded === null) {
            throw new UnexpectedValueException('Must call scan() first');
        }

        sort($this->filesIncluded);

        return $this->filesIncluded;
    }
public function getIncludedFiles(): array
    {
        if ($this->filesIncluded === null) {
            throw new UnexpectedValueException('Must call scan() first');
        }

        sort($this->filesIncluded);

        return $this->filesIncluded;
    }
public function getIncludedFiles ( ) : array { if ( $ this -> filesIncluded === null ) { throw new UnexpectedValueException ( 'Must call scan() first' ) ; } sort ( $ this -> filesIncluded ) ; return $ this -> filesIncluded ; }
Get the names of the files that matched at least one of the include
patterns, and matched none of the exclude patterns.
The names are relative to the basedir.

@return array names of the files
@throws \UnexpectedValueException
Get the names of the files that matched at least one of the include patterns and matched none of the exclude patterns . The names are relative to the basedir .