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.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: vendor/automattic/jetpack-autoloader/src/AutoloadGenerator.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.