Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class BeforeAnalysisHookDecorator implements BeforeAnalysis |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $hook; |
||
19 | |||
20 | /** |
||
21 | * @param string $hook The user-defined hook class name. |
||
22 | */ |
||
23 | public function __construct(string $hook) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param BeforeAnalysisEvent $event The event triggered when the analysis starts. |
||
30 | */ |
||
31 | public function onBeforeAnalysis(BeforeAnalysisEvent $event): void |
||
36 |