STABILITY_STABLE
STABILITY_STABLE = 0
Core package definitions that are needed to resolve dependencies and install packages
$repository : \Composer\Repository\RepositoryInterface
$requires : array<mixed,\Composer\Package\Link>
$conflicts : array<mixed,\Composer\Package\Link>
$provides : array<mixed,\Composer\Package\Link>
$replaces : array<mixed,\Composer\Package\Link>
$devRequires : array<mixed,\Composer\Package\Link>
setRepository(\Composer\Repository\RepositoryInterface $repository)
Stores a reference to the repository that owns the package
\Composer\Repository\RepositoryInterface | $repository |
getRepository() : \Composer\Repository\RepositoryInterface
Returns a reference to the repository that owns the package
equals(\Composer\Package\PackageInterface $package)
\Composer\Package\PackageInterface | $package |
setRequires(array<mixed,\Composer\Package\Link> $requires)
Set the required packages
array<mixed,\Composer\Package\Link> | $requires | A set of package links |
setConflicts(array<mixed,\Composer\Package\Link> $conflicts)
Set the conflicting packages
array<mixed,\Composer\Package\Link> | $conflicts | A set of package links |
setProvides(array<mixed,\Composer\Package\Link> $provides)
Set the provided virtual packages
array<mixed,\Composer\Package\Link> | $provides | A set of package links |
setReplaces(array<mixed,\Composer\Package\Link> $replaces)
Set the packages this one replaces
array<mixed,\Composer\Package\Link> | $replaces | A set of package links |
setDevRequires(array<mixed,\Composer\Package\Link> $devRequires)
Set the recommended packages
array<mixed,\Composer\Package\Link> | $devRequires | A set of package links |