exp:services
Compile, list, show and check the kernel service container (verbs compile, list, show, check).
Script bin/php/services.php, code in kernel/private/classes/commands/services.php. Run it from the installation root, as the user the web server runs as:
./console exp:services --help
./console exp:services:compile --help
./console exp:services:list --help
./console exp:services:show --help
./console exp:services:check --help
php bin/php/services.php --helpHelp text
Exponential kernel services
The service container of the kernel (settings/kernelservices.ini) and its compiled form
(var/cache/kernelservices/).
./console exp:services:compile [--only=site,admin]
./console exp:services:list [--tag=<tag>] [-s <siteaccess>]
./console exp:services:show <id> [-s <siteaccess>]
./console exp:services:checkOptions
| Option | Value | Help |
|---|---|---|
--json | Print the result as JSON. | |
--tag | required | list: only the services with this tag. |
--only | required | compile: only these siteaccesses (comma separated); the files of the others are kept. |
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 ...).
Arguments: [verb][id].
Related
Generated by ./console exp:help:examples from bin/php/services.php, kernel/private/classes/commands/services.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.