dump()
dump(\Traversable $dirs, string $file)
Generate a class map file
Parameters
\Traversable | $dirs | Directories or a single path to search in |
string | $file | The name of the class map file |
ClassMapGenerator
createMap(\Iterator|string $path, string $blacklist = null, \Composer\IO\IOInterface $io = null, string $namespace = null) : array
Iterate over all files in the given directory searching for classes
\Iterator|string | $path | The path to search in or an iterator |
string | $blacklist | Regex that matches against the file path that exclude from the classmap. |
\Composer\IO\IOInterface | $io | IO object |
string | $namespace | Optional namespace prefix to filter by |
When the path is neither an existing file nor directory
A class map array