AutoloadGenerator::parseAutoloadsType( array $packageMap, string $type, ComposerPackagePackageInterface $mainPackage )
This function differs from the composer parseAutoloadsType in that beside returning the path.
Description Description
It also return the path and the version of a package.
Supports PSR-4, PSR-0, and classmap parsing.
Parameters Parameters
- $packageMap
-
(Required) Map of all the packages.
- $type
-
(Required) Type of autoloader to use.
- $mainPackage
-
(Required) Instance of the Package Object.
Return Return
(array)
Source Source
File: vendor/automattic/jetpack-autoloader/src/AutoloadGenerator.php