From 2252fc6d0f64531bd168b1975a4dd62b9af608db Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 13 May 2015 22:28:20 -0700 Subject: [PATCH] registration: Improve docs for return value of Processor::getExtractedInfo() Change-Id: I0246e705134ee3545af592c06aaf6b157bc64e5f --- includes/registration/Processor.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/includes/registration/Processor.php b/includes/registration/Processor.php index e930fd3e51..391f1085b6 100644 --- a/includes/registration/Processor.php +++ b/includes/registration/Processor.php @@ -21,7 +21,12 @@ interface Processor { public function extractInfo( $path, array $info ); /** - * @return array With 'globals', 'defines', 'callbacks', 'credits' keys. + * @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 */ public function getExtractedInfo(); } -- 2.20.1