Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | #[Attribute(Attribute::TARGET_PROPERTY)] |
||
13 | final class RuleWithCallsCount implements RuleInterface, AfterInitAttributeEventInterface |
||
14 | { |
||
15 | public static int $afterInitAttributeCallsCount = 0; |
||
16 | |||
17 | public function afterInitAttribute(object $object): void |
||
18 | { |
||
19 | self::$afterInitAttributeCallsCount++; |
||
20 | } |
||
21 | |||
22 | public function getName(): string |
||
25 | } |
||
26 | |||
27 | public function getHandlerClassName(): string |
||
32 |