ClassMapGenerator deprecated
class ClassMapGenerator
deprecated
ClassMapGenerator.
Methods
| static |  dump(array|string $dirs, string $file)  Generate a class map file.  |  |
| static array |  createMap(Iterator|string $dir)  Iterate over all files in the given directory searching for classes.  |  
Details
static dump(array|string $dirs, string $file)
Generate a class map file.
Parameters
| array|string | $dirs | Directories or a single path to search in | 
| string | $file | The name of the class map file | 
static array createMap(Iterator|string $dir)
Iterate over all files in the given directory searching for classes.
Parameters
| Iterator|string | $dir | The directory to search in or an iterator | 
Return Value
| array | A class map array | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/3.4/Symfony/Component/ClassLoader/ClassMapGenerator.html