8000
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 332d0ba commit 3582287Copy full SHA for 3582287
components/console/helpers/processhelper.rst
@@ -14,7 +14,7 @@ a very verbose verbosity (e.g. -vv)::
14
use Symfony\Component\Process\ProcessBuilder;
15
16
$helper = $this->getHelper('process');
17
- $process = ProcessBuilder::create(array('figlet', 'Symfony'))->getProcess();
+ $process = new Process(['figlet', 'Symfony']);
18
19
$helper->run($output, $process);
20
@@ -55,7 +55,7 @@ There are three ways to use the process helper:
55
56
57
// ...
58
59
60
61
0 commit comments