Caution: The documentation you are viewing is
for an older version of Zend Framework.
You can find the documentation of the current version at:
https://docs.zendframework.com/
The Class Map Generator utility: bin/classmap_generator.php - Zend_Loader
The script bin/classmap_generator.php can be used to generate class map files for use with the ClassMapAutoloader.
Internally, it consumes both Zend_Console_Getopt (for parsing command-line options) and Zend_File_ClassFileLocater for recursively finding all PHP class files in a given tree.
You may run the script over any directory containing source code. By default, it will look in the current directory, and will write the script to autoload_classmap.php in the directory you specify.
Returns the usage message. If any other options are provided, they will be ignored.
Expects a single argument, a string specifying the library directory to parse. If this option is not specified, it will assume the current working directory.
Where to write the autoload class map file. If not provided, assumes "autoload_classmap.php" in the library directory.
If an autoload class map file already exists with the name as specified via the --output option, you can overwrite it by specifying this flag. Otherwise, the script will not write the class map and return a warning.