PHP 클래스 Bolt\Composer\Action\AbstractDependencyAction

저자: Gawain Lynch ([email protected])
상속: extends Bolt\Composer\Action\BaseAction
파일 보기 프로젝트 열기: bolt/bolt

보호된 프로퍼티들

프로퍼티 타입 설명
$inverted Whether to invert matching process (why-not vs why behaviour)
$recursive boolean

공개 메소드들

메소드 설명
execute ( string $packageName, string $textConstraint = '*', boolean $onlyLocal = true ) : Bolt\Composer\Package\Dependency[] | null Execute.

비공개 메소드들

메소드 설명
getDependencies ( array $results ) : array Assembles and prints a bottom-up table of the dependencies.
getNeedles ( string $packageName, Composer\Package\PackageInterface[] $packages, boolean $inverted ) : Composer\Package\Link[] Return a needle stack of Links depending on why/why-not.
getRequiredPool ( string $packageName, string $textConstraint, boolean $onlyLocal ) : Composer\DependencyResolver\Pool If the version we ask for is not installed then we need to locate it in remote repos and add it.

메소드 상세

execute() 공개 메소드

Execute.
public execute ( string $packageName, string $textConstraint = '*', boolean $onlyLocal = true ) : Bolt\Composer\Package\Dependency[] | null
$packageName string Package to inspect.
$textConstraint string Optional version constraint
$onlyLocal boolean
리턴 Bolt\Composer\Package\Dependency[] | null

프로퍼티 상세

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

Whether to invert matching process (why-not vs why behaviour)
protected $inverted

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

protected bool $recursive
리턴 boolean