| 1 | <?php |
||
| 20 | final class RolloutCollector implements CollectorInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var Rollout |
||
| 24 | */ |
||
| 25 | private $rollout; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var RolloutUserInterface |
||
| 29 | */ |
||
| 30 | private $rolloutUser; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * FeatureFlagCollector constructor. |
||
| 34 | * @param Rollout $rollout |
||
| 35 | * @param RolloutUserInterface $rolloutUser |
||
| 36 | */ |
||
| 37 | public function __construct( |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return array |
||
| 47 | */ |
||
| 48 | public function features() |
||
| 57 | |||
| 58 | |||
| 59 | /** |
||
| 60 | * Collector Name. |
||
| 61 | * |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | public function getName() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * Collector Priority. |
||
| 71 | * |
||
| 72 | * @return integer |
||
| 73 | */ |
||
| 74 | public function getPriority() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Collects data. |
||
| 81 | * |
||
| 82 | * @param MvcEvent $mvcEvent |
||
| 83 | */ |
||
| 84 | public function collect(MvcEvent $mvcEvent) |
||
| 88 | } |