PHP 클래스 Composer\Satis\Builder\WebBuilder

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

공개 메소드들

메소드 설명
dump ( array $packages )
setRootPackage ( Composer\Package\RootPackageInterface $rootPackage ) Defines the root package of the repository.
setTwigEnvironment ( Twig_Environment $twig ) Sets the twig environment.

비공개 메소드들

메소드 설명
getDescSortedVersions ( array $packages ) : Composer\Package\PackageInterface[] Sorts by version the list of packages.
getHighestVersion ( array $packages ) : Composer\Package\PackageInterface Gets the highest version of packages.
getMappedPackageList ( array $packages ) : array Gets a list of packages grouped by name with a list of versions.
getTwigEnvironment ( ) : Twig_Environment Gets the twig environment.
getTwigTemplate ( ) : string Gets the twig template name.
groupPackagesByName ( array $packages ) : array Gets a list of packages grouped by name.
setDependencies ( array $packages ) Defines the required packages.

메소드 상세

dump() 공개 메소드

public dump ( array $packages )
$packages array

setRootPackage() 공개 메소드

Defines the root package of the repository.
public setRootPackage ( Composer\Package\RootPackageInterface $rootPackage )
$rootPackage Composer\Package\RootPackageInterface The root package

setTwigEnvironment() 공개 메소드

Sets the twig environment.
public setTwigEnvironment ( Twig_Environment $twig )
$twig Twig_Environment