We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d45bd46 + 92e6fa3 commit f6ed695Copy full SHA for f6ed695
1 file changed
user_guide_src/source/cli/cli_library/001.php
@@ -1,11 +1,16 @@
1
<?php
2
3
-namespace App\Controllers;
+namespace App\Commands;
4
5
+use CodeIgniter\CLI\BaseCommand;
6
use CodeIgniter\CLI\CLI;
-use CodeIgniter\Controller;
7
8
-class MyController extends Controller
+class MyCommand extends BaseCommand
9
{
10
// ...
11
+
12
+ public function run(array $params)
13
+ {
14
+ // ...
15
+ }
16
}
0 commit comments