X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fregistration%2FProcessor.php;h=210deb1bdea8196f07ebbebc3b0ceb45a894bfe4;hb=a3dfd8ee587608f14f25b63f87803999381041b1;hp=e5669d2779bcdc1fc3f43bcee1874f5ab179b68e;hpb=4618f70793d1178ca4c646ef397cf17b1cc70b44;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/registration/Processor.php b/includes/registration/Processor.php index e5669d2779..210deb1bde 100644 --- a/includes/registration/Processor.php +++ b/includes/registration/Processor.php @@ -23,11 +23,11 @@ interface Processor { /** * @return array With following keys: - * 'globals' - variables to be set to $GLOBALS - * 'defines' - constants to define - * 'callbacks' - functions to be executed by the registry - * 'credits' - metadata to be stored by registry - * 'attributes' - registration info which isn't a global variable + * 'globals' - variables to be set to $GLOBALS + * 'defines' - constants to define + * 'callbacks' - functions to be executed by the registry + * 'credits' - metadata to be stored by registry + * 'attributes' - registration info which isn't a global variable */ public function getExtractedInfo(); @@ -40,4 +40,14 @@ interface Processor { * 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 ); }