1
0
Fork 0

Add post-autoload-dump event to docs/schema

pull/1615/merge
Jordi Boggiano 2013-02-22 18:44:50 +01:00
parent 8d55b9cced
commit 8518cd1be8
2 changed files with 16 additions and 10 deletions

View File

@ -30,6 +30,8 @@ Composer fires the following named events during its execution process:
- **post-package-update**: occurs after a package is updated. - **post-package-update**: occurs after a package is updated.
- **pre-package-uninstall**: occurs before a package has been uninstalled. - **pre-package-uninstall**: occurs before a package has been uninstalled.
- **post-package-uninstall**: occurs after a package has been uninstalled. - **post-package-uninstall**: occurs after a package has been uninstalled.
- **post-autoload-dump**: occurs after the autoloader is dumped, either
during `install`/`update`, or via the `dump-autoload` command.
## Defining scripts ## Defining scripts

View File

@ -223,43 +223,47 @@
"properties": { "properties": {
"pre-install-cmd": { "pre-install-cmd": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs before the install command is executed, contains one or more Class::method callables." "description": "Occurs before the install command is executed, contains one or more Class::method callables or shell commands."
}, },
"post-install-cmd": { "post-install-cmd": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs after the install command is executed, contains one or more Class::method callables." "description": "Occurs after the install command is executed, contains one or more Class::method callables or shell commands."
}, },
"pre-update-cmd": { "pre-update-cmd": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs before the update command is executed, contains one or more Class::method callables." "description": "Occurs before the update command is executed, contains one or more Class::method callables or shell commands."
}, },
"post-update-cmd": { "post-update-cmd": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs after the update command is executed, contains one or more Class::method callables." "description": "Occurs after the update command is executed, contains one or more Class::method callables or shell commands."
}, },
"pre-package-install": { "pre-package-install": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs before a package is installed, contains one or more Class::method callables." "description": "Occurs before a package is installed, contains one or more Class::method callables or shell commands."
}, },
"post-package-install": { "post-package-install": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs after a package is installed, contains one or more Class::method callables." "description": "Occurs after a package is installed, contains one or more Class::method callables or shell commands."
}, },
"pre-package-update": { "pre-package-update": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs before a package is updated, contains one or more Class::method callables." "description": "Occurs before a package is updated, contains one or more Class::method callables or shell commands."
}, },
"post-package-update": { "post-package-update": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs after a package is updated, contains one or more Class::method callables." "description": "Occurs after a package is updated, contains one or more Class::method callables or shell commands."
}, },
"pre-package-uninstall": { "pre-package-uninstall": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs before a package has been uninstalled, contains one or more Class::method callables." "description": "Occurs before a package has been uninstalled, contains one or more Class::method callables or shell commands."
}, },
"post-package-uninstall": { "post-package-uninstall": {
"type": ["array", "string"], "type": ["array", "string"],
"description": "Occurs after a package has been uninstalled, contains one or more Class::method callables." "description": "Occurs after a package has been uninstalled, contains one or more Class::method callables or shell commands."
},
"post-autoload-dump": {
"type": ["array", "string"],
"description": "Occurs after a the autoloader is dumped, contains one or more Class::method callables or shell commands."
} }
} }
}, },