use of com.synopsys.integration.detectable.detectables.packagist.parse.PackagistParser in project synopsys-detect by blackducksoftware.
the class DetectableFactory method createComposerDetectable.
public ComposerLockDetectable createComposerDetectable(DetectableEnvironment environment, ComposerLockDetectableOptions composerLockDetectableOptions) {
PackagistParser packagistParser = new PackagistParser(externalIdFactory, composerLockDetectableOptions.getDependencyTypeFilter());
ComposerLockExtractor composerLockExtractor = new ComposerLockExtractor(packagistParser);
return new ComposerLockDetectable(environment, fileFinder, composerLockExtractor);
}
Aggregations