We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da324f commit de226ebCopy full SHA for de226eb
README.md
@@ -129,13 +129,13 @@ $this->emulateProduction();
129
130
#### `runConsoleCommand()`
131
132
-Runs console command by the direct `run` method call, through the class name with ability to set parameters:
+Runs console command directly by the class name, and return it:
133
134
```php
135
$command = $this->runConsoleCommand(MyCommand::class, ['--name' => 'John']);
136
```
137
138
-Also, you can pass command object directly instead of class name:
+Also, you can run command via command object directly:
139
140
141
$command = $this->runConsoleCommand(new MyCommand, ['--name' => 'Jane']);
0 commit comments