PackageFilter
in package
Tags
Table of Contents
- $downloader : mixed
- $io : mixed
- $symfonyConstraints : mixed
- $symfonyRequire : mixed
- $versionParser : mixed
- $versions : mixed
- __construct() : mixed
- removeLegacyPackages() : array<string|int, PackageInterface>
- getVersions() : array<string|int, mixed>
Properties
$downloader
private
mixed
$downloader
$io
private
mixed
$io
$symfonyConstraints
private
mixed
$symfonyConstraints
$symfonyRequire
private
mixed
$symfonyRequire
$versionParser
private
mixed
$versionParser
$versions
private
mixed
$versions
Methods
__construct()
public
__construct(IOInterface $io, string $symfonyRequire, Downloader $downloader) : mixed
Parameters
- $io : IOInterface
- $symfonyRequire : string
- $downloader : Downloader
Return values
mixed —removeLegacyPackages()
public
removeLegacyPackages(array<string|int, PackageInterface> $data, RootPackageInterface $rootPackage, array<string|int, PackageInterface> $lockedPackages) : array<string|int, PackageInterface>
Parameters
- $data : array<string|int, PackageInterface>
- $rootPackage : RootPackageInterface
- $lockedPackages : array<string|int, PackageInterface>
Return values
array<string|int, PackageInterface> —getVersions()
private
getVersions() : array<string|int, mixed>