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

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

Construct a new Composer NPM bridge plugin.
public __construct ( Composer\IO\IOInterface $io, NpmVendorFinder $vendorFinder, NpmClient $client )
$io Composer\IO\IOInterface The i/o interface to use.
$vendorFinder NpmVendorFinder The vendor finder to use.
$client NpmClient The NPM client to use.
    public function __construct(IOInterface $io, NpmVendorFinder $vendorFinder, NpmClient $client)
    {
        $this->io = $io;
        $this->vendorFinder = $vendorFinder;
        $this->client = $client;
    }