MediaWiki master
|
Generic processor that reads associated arrays and registers whatever is required. More...
Inherited by MediaWiki\Registration\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 11 of file Processor.php.
MediaWiki\Registration\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 MediaWiki\Registration\ExtensionProcessor.
MediaWiki\Registration\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 MediaWiki\Registration\ExtensionProcessor.
MediaWiki\Registration\Processor::getExtractedInfo | ( | ) |
MediaWiki\Registration\Processor::getRequirements | ( | array | $info, |
$includeDev ) |
Get the requirements for the provided info.
array | $info | |
bool | $includeDev |
Implemented in MediaWiki\Registration\ExtensionProcessor.