PHP 클래스 Composer\Satis\PackageSelection\PackageSelection

저자: James Hautot ([email protected])
파일 보기 프로젝트 열기: composer/satis 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$output The output Interface.
$skipErrors Skips Exceptions if true.

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Console\Output\OutputInterface $output, string $outputDir, array $config, boolean $skipErrors ) Base Constructor.
hasFilterForPackages ( ) : boolean Tells if there is at least one package filter.
hasRepositoryFilter ( ) : boolean Tells if repository list should be reduced to single repository
load ( ) : Composer\Package\PackageInterface[] Loads previously dumped Packages in order to merge with updates.
select ( Composer\Composer $composer, boolean $verbose ) : Composer\Package\PackageInterface[] Sets the list of packages to build.
setPackagesFilter ( array $packagesFilter = [] ) Sets the active package filter to merge
setRepositoryFilter ( string $repositoryFilter ) Sets the active repository filter to merge

비공개 메소드들

메소드 설명
fetchOptions ( $config )
filterRepositories ( array $repositories ) : Composer\Repository\RepositoryInterface[] Filter given repositories.
getAllLinks ( array $repos, string $minimumStability, boolean $verbose ) : Composer\Package\Link[] Gets all Links.
getFilteredLinks ( Composer\Composer $composer ) : Composer\Package\Link[] Gets a list of filtered Links.
getPackages ( Composer\Repository\RepositoryInterface $repo ) : Composer\Package\PackageInterface[] Gets All or filtered Packages of a Repository.
getRequired ( Composer\Package\PackageInterface $package ) : Composer\Package\Link[] Gets the required Links if needed.
setSelectedAsAbandoned ( ) Marks selected packages as abandoned by Configuration file

메소드 상세

__construct() 공개 메소드

Base 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

hasFilterForPackages() 공개 메소드

Tells if there is at least one package filter.
public hasFilterForPackages ( ) : boolean
리턴 boolean true if there is at least one package filter

hasRepositoryFilter() 공개 메소드

Tells if repository list should be reduced to single repository
public hasRepositoryFilter ( ) : boolean
리턴 boolean true if repository filter is set

load() 공개 메소드

Loads previously dumped Packages in order to merge with updates.
public load ( ) : Composer\Package\PackageInterface[]
리턴 Composer\Package\PackageInterface[]

select() 공개 메소드

Sets the list of packages to build.
public select ( Composer\Composer $composer, boolean $verbose ) : Composer\Package\PackageInterface[]
$composer Composer\Composer The Composer instance
$verbose boolean Output infos if true
리턴 Composer\Package\PackageInterface[]

setPackagesFilter() 공개 메소드

Sets the active package filter to merge
public setPackagesFilter ( array $packagesFilter = [] )
$packagesFilter array The active package filter to merge

setRepositoryFilter() 공개 메소드

Sets the active repository filter to merge
public setRepositoryFilter ( string $repositoryFilter )
$repositoryFilter string The active repository filter to merge

프로퍼티 상세

$output 보호되어 있는 프로퍼티

The output Interface.
protected $output

$skipErrors 보호되어 있는 프로퍼티

Skips Exceptions if true.
protected $skipErrors