PHP code example of o3co / symfony-extension-process
1. Go to this page and download the library: Download o3co/symfony-extension-process library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
o3co / symfony-extension-process example snippets
$command = $this->application->find('acme:hello');
$process = new CommandProcess($command, new ArrayInput(array('name' => 'joe')));
$process->run();