X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fregistration%2FProcessor.php;h=a4100bbc07aa7cee397fb0b2827792508072f44f;hb=1e11b78e327a2a2ed970aace7c647af1deffe4e6;hp=e1aaca73b7bafceeef86488b9301db65fc97489a;hpb=a07ea9326e540e7b7b54685a0dff796cd9e9572f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/registration/Processor.php b/includes/registration/Processor.php index e1aaca73b7..a4100bbc07 100644 --- a/includes/registration/Processor.php +++ b/includes/registration/Processor.php @@ -30,4 +30,24 @@ interface Processor { * 'attributes' - registration info which isn't a global variable */ public function getExtractedInfo(); + + /** + * Get the requirements for the provided info + * + * @since 1.26 + * @param array $info + * @return array Where keys are the name to have a constraint on, + * like 'MediaWiki'. Values are a constraint string like "1.26.1". + */ + public function getRequirements( array $info ); + + /** + * Get the path for additional autoloaders, e.g. the one of Composer. + * + * @param string $dir + * @param array $info + * @return array Containing the paths for autoloader file(s). + * @since 1.27 + */ + public function getExtraAutoloaderPaths( $dir, array $info ); }