exp:ezpgenerateautoloads
Generate the class autoload arrays: kernel (-k), kernel overrides (-o), extensions (-e).
Script bin/php/ezpgenerateautoloads.php, code in kernel/private/classes/commands/ezpgenerateautoloads.php. Run it from the installation root, as the user the web server runs as:
./console exp:ezpgenerateautoloads --help
php bin/php/ezpgenerateautoloads.php --helpOptions
| Option | Value | Help |
|---|---|---|
--help | Show help information (short: -h) | |
--quiet | do not give any output except when errors occur (short: -q) | |
--target | required | The directory to where the generated autoload file should be written. (short: -t) |
--verbose | Whether or not to display more information. (short: -v) | |
--dry-run | Whether a new file autoload file should be written. (short: -n) | |
--kernel | If an autoload array for the kernel files should be generated. (short: -k) | |
--kernel-override | If an autoload array for the kernel override files should be generated. (short: -o) | |
--extension | If an autoload array for the extensions should be generated. (short: -e) | |
--tests | If an autoload array for the tests should be generated. (short: -s) | |
--exclude | required | Folders to exclude from the class search. |
--progress | If progress output should be shown on the command-line. (short: -p) | |
--allow-root-user | Accepted for compatibility with the other scripts; has no effect. |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/ezpgenerateautoloads.php, kernel/private/classes/commands/ezpgenerateautoloads.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.