STABILITY_STABLE
STABILITY_STABLE = 0
Base class for packages providing name storage and default match implementation
$aliasOf : \Composer\Package\PackageInterface
$requires : array<mixed,\Composer\Package\Link>
$devRequires : array<mixed,\Composer\Package\Link>
$conflicts : array<mixed,\Composer\Package\Link>
$provides : array<mixed,\Composer\Package\Link>
$replaces : array<mixed,\Composer\Package\Link>
$repository : \Composer\Repository\RepositoryInterface
__construct(\Composer\Package\RootPackageInterface $aliasOf, string $version, string $prettyVersion)
All descendants' constructors should call this parent constructor
\Composer\Package\RootPackageInterface | $aliasOf | The package this package is an alias of |
string | $version | The version the alias must report |
string | $prettyVersion | The alias's non-normalized version |
getAliasOf() : \Composer\Package\PackageInterface
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 |
replaceSelfVersionDependencies(array<mixed,\Composer\Package\Link> $links, string $linkType) : array<mixed,\Composer\Package\Link>
array<mixed,\Composer\Package\Link> | $links | |
string | $linkType |