Merge "Use PHP_OS rather than php_uname, which may be disabled"
[lhc/web/wiklou.git] / includes / registration / Processor.php
1 <?php
2
3 /**
4 * Processors read associated arrays and register
5 * whatever is required
6 *
7 * @since 1.25
8 */
9 interface Processor {
10
11 /**
12 * Main entry point, processes the information
13 * provided.
14 * Callers should call "callback" after calling
15 * this function.
16 *
17 * @param string $path Absolute path of JSON file
18 * @param array $info
19 * @return array "credits" information to store
20 */
21 public function extractInfo( $path, array $info );
22
23 /**
24 * @return array With 'globals', 'defines', 'callbacks', 'credits' keys.
25 */
26 public function getExtractedInfo();
27 }