DependencyChecker
class DependencyChecker (View source)
Properties
protected Application | $application | ||
protected Package[]|null | $installedPackages |
Methods
$this
setInstalledPackages(array $installedPackages)
Set the list of installed packages.
Package[]
getInstalledPackages()
Get the list of installed packages.
string[]|string|bool|null
getPackageRequirementsForPackage(Package $package, Package $otherPackage)
Get the requirements for a package in respect to another package.
LogicException|null
checkPackageCompatibility(Package $package, Package $dependentPackage, string[]|string|bool|null $requirements)
No description
Details
__construct(Application $application)
Initializes the instance.
$this
setInstalledPackages(array $installedPackages)
Set the list of installed packages.
protected Package[]
getInstalledPackages()
Get the list of installed packages.
protected string[]|string|bool|null
getPackageRequirementsForPackage(Package $package, Package $otherPackage)
Get the requirements for a package in respect to another package.
protected LogicException|null
checkPackageCompatibility(Package $package, Package $dependentPackage, string[]|string|bool|null $requirements)
No description