4 * Processors read associated arrays and register
12 * Main entry point, processes the information
14 * Callers should call "callback" after calling
17 * @param string $path Absolute path of JSON file
19 * @param int $version manifest_version for info
20 * @return array "credits" information to store
22 public function extractInfo( $path, array $info, $version );
25 * @return array With following keys:
26 * 'globals' - variables to be set to $GLOBALS
27 * 'defines' - constants to define
28 * 'callbacks' - functions to be executed by the registry
29 * 'credits' - metadata to be stored by registry
30 * 'attributes' - registration info which isn't a global variable
32 public function getExtractedInfo();
35 * Get the requirements for the provided info
39 * @return array Where keys are the name to have a constraint on,
40 * like 'MediaWiki'. Values are a constraint string like "1.26.1".
42 public function getRequirements( array $info );
45 * Get the path for additional autoloaders, e.g. the one of Composer.
49 * @return array Containing the paths for autoloader file(s).
52 public function getExtraAutoloaderPaths( $dir, array $info );