| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 30% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class ClassGenerator |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var \Composer\Script\Event |
||
| 19 | */ |
||
| 20 | private $event; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * ClassGenerator constructor. |
||
| 24 | * |
||
| 25 | * @param \Composer\Script\Event $event |
||
| 26 | */ |
||
| 27 | 1 | public function __construct(Event $event) |
|
| 28 | { |
||
| 29 | 1 | $this->event = $event; |
|
| 30 | 1 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @throws \ReflectionException |
||
| 34 | * @throws \Twig\Error\LoaderError |
||
| 35 | * @throws \Twig\Error\RuntimeError |
||
| 36 | * @throws \Twig\Error\SyntaxError |
||
| 37 | */ |
||
| 38 | public function regenerateClasses(): void |
||
| 48 | } |
||
| 49 | } |
||
| 50 |