From dc9048697f90f4405fcb84d24b2f0774751405b1 Mon Sep 17 00:00:00 2001 From: arutyunyan Date: Mon, 22 Apr 2024 15:24:12 +0300 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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