Eloquent\Composer\NpmBridge\NpmClient::__construct PHP Метод

__construct() публичный Метод

Construct a new NPM client.
public __construct ( Composer\Util\ProcessExecutor $processExecutor, ExecutableFinder $executableFinder, callable $getcwd = 'getcwd', callable $chdir = 'chdir' )
$processExecutor Composer\Util\ProcessExecutor The process executor to use.
$executableFinder Symfony\Component\Process\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;
    }