MediaWiki REL1_37
|
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. | |
getExtraAutoloaderPaths ( $dir, array $info) | |
Get the path for additional autoloaders, e.g. | |
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::getExtractedInfo | ( | ) |
Implemented in ExtensionProcessor.
Processor::getRequirements | ( | array | $info, |
$includeDev | |||
) |
Get the requirements for the provided info.
array | $info | |
bool | $includeDev |
Implemented in ExtensionProcessor.