| 1 | <?php |
||
| 21 | class CloakPlugin implements Registrar |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var \cloak\ReportableAnalyzer |
||
| 25 | */ |
||
| 26 | private $analyzer; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param ReportableAnalyzer $analyzer |
||
| 30 | */ |
||
| 31 | public function __construct(ReportableAnalyzer $analyzer) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $configurationFile |
||
| 38 | * |
||
| 39 | * @return CloakPlugin |
||
| 40 | */ |
||
| 41 | public static function create($configurationFile) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function registerTo(EventEmitterInterface $emitter) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function onRunnerStart() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | */ |
||
| 71 | public function onRunnerEnd($processingTime) |
||
| 75 | } |
||
| 76 |