1 | <?php |
||
26 | final class ComposerInstall implements ActionInterface, EventAwareInterface |
||
27 | { |
||
28 | use EventAwareTrait; |
||
29 | |||
30 | /** |
||
31 | * Execute action |
||
32 | * |
||
33 | * @return void |
||
34 | * @throws \Exception |
||
35 | */ |
||
36 | 2 | public function execute() |
|
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | * @throws \RuntimeException |
||
46 | */ |
||
47 | 2 | private function findPhp(): string |
|
57 | |||
58 | /** |
||
59 | * @param string $command |
||
60 | * |
||
61 | * @throws \Exception |
||
62 | */ |
||
63 | 2 | private function run(string $command) |
|
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | 4 | public function getPriority(): int |
|
76 | } |
||
77 |