summaryrefslogtreecommitdiff
blob: 718ed4860b259ce6435568662afe63055243b84d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php

namespace SMW;

/**
 * Interface for items of groups of individuals to be sampled into a
 * collection of values
 *
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 * @since 1.9
 *
 * @author mwjames
 */
interface ResultCollector {

	/**
	 * Intiates collection of items
	 *
	 * @since  1.9
	 *
	 * @return array
	 */
	public function runCollector();

	/**
	 * Returns collected items
	 *
	 * @since  1.9
	 *
	 * @return array
	 */
	public function getResults();

}