PHP Класс Composer\Satis\Builder\WebBuilder

Автор: James Hautot ([email protected])
Наследование: extends Builder, implements Composer\Satis\Builder\BuilderInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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