$source
$source : string
Represents a link between two packages, represented by their names
$constraint : \Composer\Semver\Constraint\ConstraintInterface|null
__construct(string $source, string $target, \Composer\Semver\Constraint\ConstraintInterface|null $constraint = null, string $description = 'relates to', string|null $prettyConstraint = null)
Creates a new package link.
| string | $source | |
| string | $target | |
| \Composer\Semver\Constraint\ConstraintInterface|null | $constraint | Constraint applying to the target of this link |
| string | $description | Used to create a descriptive string representation |
| string|null | $prettyConstraint |
getConstraint() : \Composer\Semver\Constraint\ConstraintInterface|null
getPrettyString(\Composer\Package\PackageInterface $sourcePackage) : string
| \Composer\Package\PackageInterface | $sourcePackage |