diff --git a/README.md b/README.md index a0629ec..24d23fe 100644 --- a/README.md +++ b/README.md @@ -138,5 +138,5 @@ in the command line it would be calling for example something like this: then in `index.php` you should read the command and the parameters and after that call it like this: ```php -(new Console('hello'))->setParameters(['name' => 'Yuriy'])->run(); +(new Console('hello'))->setParameters(['name' => 'Yuriy'])->getMethod(Controller::class)->run(); ``` \ No newline at end of file