| 1 | <?php |
||
| 8 | trait DevTools |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Execute devtools command. |
||
| 12 | * |
||
| 13 | * @return int -1 if error occurred |
||
| 14 | */ |
||
| 15 | protected function devtools() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Install Laravel ide helper package. |
||
| 27 | * |
||
| 28 | * @return int -1 if error occurred |
||
| 29 | */ |
||
| 30 | protected function idehelper() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Install Laravel debugbar package. |
||
| 37 | * |
||
| 38 | * @return int -1 if error occurred |
||
| 39 | */ |
||
| 40 | protected function debugbar() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Installs laravel package form config/packages.php file. |
||
| 47 | * |
||
| 48 | * @see Acacha\Llum\Console\LlumCommand::package |
||
| 49 | * |
||
| 50 | * @param $package |
||
| 51 | * |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | abstract protected function package($package); |
||
| 55 | } |
||
| 56 |