MediaWiki REL1_40
|
Processors read associated arrays and register whatever is required. More...
Inherited by ExtensionProcessor.
Public Member Functions | |
extractInfo ( $path, array $info, $version) | |
Main entry point, processes the information provided. | |
getExtraAutoloaderPaths ( $dir, array $info) | |
Get the path for additional autoloaders, e.g. | |
getExtractedAutoloadInfo (bool $includeDev=false) | |
Returns the extracted autoload info. | |
getExtractedInfo () | |
getRequirements (array $info, $includeDev) | |
Get the requirements for the provided info. | |
Processors read associated arrays and register whatever is required.
Definition at line 9 of file Processor.php.
Processor::extractInfo | ( | $path, | |
array | $info, | ||
$version ) |
Main entry point, processes the information provided.
Callers should call "callback" after calling this function.
string | $path | Absolute path of JSON file |
array | $info | |
int | $version | manifest_version for info |
Implemented in ExtensionProcessor.
Processor::getExtraAutoloaderPaths | ( | $dir, | |
array | $info ) |
Get the path for additional autoloaders, e.g.
the one of Composer.
string | $dir | |
array | $info |
Implemented in ExtensionProcessor.
Processor::getExtractedAutoloadInfo | ( | bool | $includeDev = false | ) |
Returns the extracted autoload info.
The autoload info is returned as an associative array with three keys:
bool | $includeDev |
Implemented in ExtensionProcessor.
Processor::getExtractedInfo | ( | ) |
Processor::getRequirements | ( | array | $info, |
$includeDev ) |
Get the requirements for the provided info.
array | $info | |
bool | $includeDev |
Implemented in ExtensionProcessor.