MediaWiki 1.42.1
|
Generic processor that reads associated arrays and registers whatever is required. More...
Inherited by ExtensionProcessor.
Public Member Functions | |
extractInfo ( $path, array $info, $version) | |
Main entry point, processes the information provided. | |
getExtractedAutoloadInfo (bool $includeDev=false) | |
Returns the extracted autoload info. | |
getExtractedInfo () | |
getRequirements (array $info, $includeDev) | |
Get the requirements for the provided info. | |
Generic processor that reads associated arrays and registers 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::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.