Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arutyunyan committed Apr 22, 2024
1 parent b56c4bf commit dc90486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
```

0 comments on commit dc90486

Please sign in to comment.