public __construct ( Composer\Util\ProcessExecutor $processExecutor, |
||
$processExecutor | Composer\Util\ProcessExecutor | The process executor to use. |
$executableFinder | The executable finder to use. | |
$getcwd | callable | The getcwd() implementation to use. |
$chdir | callable | The chdir() implementation to use. |
public function __construct(ProcessExecutor $processExecutor, ExecutableFinder $executableFinder, $getcwd = 'getcwd', $chdir = 'chdir')
{
$this->processExecutor = $processExecutor;
$this->executableFinder = $executableFinder;
$this->getcwd = $getcwd;
$this->chdir = $chdir;
}