X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fregistration%2FProcessor.php;h=a4100bbc07aa7cee397fb0b2827792508072f44f;hb=bb333d91a4c29e025303d44c705414840b68249c;hp=e1aaca73b7bafceeef86488b9301db65fc97489a;hpb=a77c09c03baf8ee1dd7527db4c20c5be2cd2c298;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 ); }