PHP 클래스 Eloquent\Composer\NpmBridge\NpmBridgeFactory

파일 보기 프로젝트 열기: eloquent/composer-npm-bridge 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( NpmVendorFinder $vendorFinder, NpmClient $client ) Construct a new NPM bridge factory.
create ( ) : self Create a new NPM bridge factory.
createBridge ( Composer\IO\IOInterface $io ) Construct a new Composer NPM bridge plugin.

메소드 상세

__construct() 공개 메소드

Construct a new NPM bridge factory.
public __construct ( NpmVendorFinder $vendorFinder, NpmClient $client )
$vendorFinder NpmVendorFinder The vendor finder to use.
$client NpmClient The client to use.

create() 공개 정적인 메소드

Create a new NPM bridge factory.
public static create ( ) : self
리턴 self The newly created factory.

createBridge() 공개 메소드

Construct a new Composer NPM bridge plugin.
public createBridge ( Composer\IO\IOInterface $io )
$io Composer\IO\IOInterface The i/o interface to use.