public static create ( ) : self | ||
리턴 | self | The newly created client. |
public static function create()
{
return new self(new ProcessExecutor(), new ExecutableFinder());
}
/** * Create a new NPM bridge factory. * * @return self The newly created factory. */ public static function create() { return new self(new NpmVendorFinder(), NpmClient::create()); }