1 | <?php |
||
21 | class VolumeFactor implements FactorInterface { |
||
22 | |||
23 | /** |
||
24 | * Bounds |
||
25 | * |
||
26 | * @var Calculator |
||
27 | */ |
||
28 | private $calculator; |
||
29 | |||
30 | /** |
||
31 | * Constructor |
||
32 | * |
||
33 | * @param Calculator $calculator |
||
34 | */ |
||
35 | public function __construct(Calculator $calculator) |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | public function calculate(ResultCollection $collection, ResultCollection $groupedResults, ResultInterface $bound) { |
||
51 | |||
52 | /** |
||
53 | * @inheritedDoc |
||
54 | */ |
||
55 | public function getName() { |
||
58 | } |