1 | <?php |
||
15 | class InstallCommand extends Command |
||
16 | { |
||
17 | use UseComposer; |
||
18 | |||
19 | /** |
||
20 | * Get package name to install. |
||
21 | */ |
||
22 | protected function getPackageName() |
||
26 | |||
27 | /** |
||
28 | * Configure the command options. |
||
29 | */ |
||
30 | protected function configure() |
||
55 | |||
56 | /** |
||
57 | * Execute the command. |
||
58 | * |
||
59 | * @param InputInterface $input |
||
60 | * @param OutputInterface $output |
||
61 | * |
||
62 | * @return void |
||
63 | */ |
||
64 | protected function execute(InputInterface $input, OutputInterface $output) |
||
92 | |||
93 | /** |
||
94 | * Gets dev suffix. |
||
95 | * |
||
96 | * @param InputInterface $input |
||
97 | * @return string |
||
98 | */ |
||
99 | private function getDevSuffix(InputInterface $input) |
||
103 | |||
104 | /** |
||
105 | * Manually publishes files to project. |
||
106 | * |
||
107 | * @param OutputInterface $output |
||
108 | */ |
||
109 | protected function publish(OutputInterface $output) |
||
114 | |||
115 | /** |
||
116 | * Publishes files with artisan publish command. |
||
117 | * |
||
118 | * @param OutputInterface $output |
||
119 | */ |
||
120 | protected function publishWithVendor(OutputInterface $output) |
||
125 | } |
||
126 |