exp:ezpgenerateautoloads
Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.
Summary
Generate the class autoload arrays: kernel (-k), kernel overrides (-o), extensions (-e)
Usage
./console exp:ezpgenerateautoloads [options] php bin/php/ezpgenerateautoloads.php [options]
Options
| Option | Value | Description |
|---|---|---|
| --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. |
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/ezpgenerateautoloads.php, kernel/private/classes/commands/ezpgenerateautoloads.php
See also
Generated example: exp:ezpgenerateautoloads
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment