File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
docs/development/extension-hooks/global Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ lang: php
1313
1414# CLI Extension Hooks
1515
16- ### ` cli_boot($cli, $commandClassName, $commandObject ) `
16+ ### ` cli_boot($cli) `
1717
1818| Parameter | Type | Description |
1919| ------------------ | -------- | ------------------------------------------------------------------------ |
2020| \$ cli | ` Object ` | Instance of CLI currently running |
2121| Returns | ` Void ` | |
2222
23- Run tasks on every CLI request. Allows running the code before certain CLI command .
23+ Run tasks before every CLI request.
2424
2525How it's called:
2626
@@ -29,7 +29,7 @@ How it's called:
2929 $this->complete('');
3030 }
3131
32- ### ` cli_before_handle($cli, $command , $commandClass ) `
32+ ### ` cli_before_handle($cli, $commandClass , $command ) `
3333
3434| Parameter | Type | Description |
3535| -------------- | -------- | ------------------------------------------------------------------------ |
@@ -42,7 +42,7 @@ Run tasks right before CLI command is excuted. Allows modification of command cl
4242
4343How it's called:
4444
45- $command = ee()->extensions->call('cli_before_handle', $this, $command , $commandClass );
45+ $command = ee()->extensions->call('cli_before_handle', $this, $commandClass , $command );
4646 if (ee()->extensions->end_script === true) {
4747 $this->complete('');
4848 }
You can’t perform that action at this time.
0 commit comments