Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Application $composerApp, DirectoryList $directoryList) | |
checkDependencies (array $packages, $excludeSelf=false) | |
A class to check if there are any dependency to package(s) that exists in the codebase, regardless of package type
Definition at line 16 of file DependencyChecker.php.
__construct | ( | Application | $composerApp, |
DirectoryList | $directoryList | ||
) |
Constructor
Application | $composerApp | |
DirectoryList | $directoryList |
Definition at line 34 of file DependencyChecker.php.
checkDependencies | ( | array | $packages, |
$excludeSelf = false |
|||
) |
Checks dependencies to package(s), returns array of dependencies in the format of 'package A' => [array of package names depending on package A] If $excludeSelf is set to true, items in $packages will be excluded in all "array of package names depending on package A"
string[] | $packages | |
bool | $excludeSelf |
Definition at line 50 of file DependencyChecker.php.