PHP 클래스 Composer\Satis\Builder\PackagesBuilder

저자: James Hautot ([email protected])
상속: extends Builder, implements Composer\Satis\Builder\BuilderInterface
파일 보기 프로젝트 열기: composer/satis 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Console\Output\OutputInterface $output, string $outputDir, array $config, boolean $skipErrors ) Dedicated Packages Constructor.
dump ( array $packages ) Builds the JSON stuff of the repository.

비공개 메소드들

메소드 설명
dumpPackageIncludeJson ( array $packages, string $includesUrl, string $hashAlgorithm = 'sha1' ) : array Writes includes JSON Files.
dumpPackagesJson ( array $repo ) Writes the packages.json of the repository.
findReplacements ( array $packages, string $replaced ) : array Find packages replacing the $replaced packages
pruneIncludeDirectories ( ) Remove all files matching the includeUrl pattern next to just created include jsons
writeToFile ( string $path, string $contents ) Write to a file

메소드 상세

__construct() 공개 메소드

Dedicated Packages Constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, string $outputDir, array $config, boolean $skipErrors )
$output Symfony\Component\Console\Output\OutputInterface The output Interface
$outputDir string The directory where to build
$config array The parameters from ./satis.json
$skipErrors boolean Escapes Exceptions if true

dump() 공개 메소드

Builds the JSON stuff of the repository.
public dump ( array $packages )
$packages array List of packages to dump