MediaWiki
1.28.0
|
Processors read associated arrays and register whatever is required. More...
Public Member Functions | |
extractInfo ($path, array $info, $version) | |
Main entry point, processes the information provided. More... | |
getExtraAutoloaderPaths ($dir, array $info) | |
Get the path for additional autoloaders, e.g. More... | |
getExtractedInfo () | |
getRequirements (array $info) | |
Get the requirements for the provided info. More... | |
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::getExtractedInfo | ( | ) |
Implemented in ExtensionProcessor.
Processor::getRequirements | ( | array | $info | ) |
Get the requirements for the provided info.
array | $info |
Implemented in ExtensionProcessor.