src/phpDocumentor/Parser/Parser.php
protected function getFilenames(Collection $files)
    {
        $paths = $files->getFilenames();
        if (count($paths) < 1) {
            throw new FilesNotFoundException();
        }
        $this->log('Starting to process ' . count($paths) . ' files');

        return $paths;
    }
protected function getFilenames(Collection $files)
    {
        $paths = $files->getFilenames();
        if (count($paths) < 1) {
            throw new FilesNotFoundException();
        }
        $this->log('Starting to process ' . count($paths) . ' files');

        return $paths;
    }
protected function getFilenames ( Collection $ files ) { $ paths = $ files -> getFilenames ( ) ; if ( count ( $ paths ) < 1 ) { throw new FilesNotFoundException ( ) ; } $ this -> log ( 'Starting to process ' . count ( $ paths ) . ' files' ) ; return $ paths ; }
Extract all filenames from the given collection and output the amount of files.

@param Collection $files

@throws FilesNotFoundException if no files were found.

@return string[]
Extract all filenames from the given collection and output the amount of files .