1 | <?php |
||
19 | class ComposerController extends \hidev\base\Controller |
||
20 | { |
||
21 | protected $_before = ['composer.json']; |
||
22 | |||
23 | public $defaultAction = 'install'; |
||
24 | |||
25 | /** |
||
26 | * Does `composer install`. |
||
27 | */ |
||
28 | public function actionInstall() |
||
32 | |||
33 | /** |
||
34 | * Does `composer install`. |
||
35 | */ |
||
36 | public function actionUpdate() |
||
40 | |||
41 | /** |
||
42 | * Does `composer self-update`. |
||
43 | */ |
||
44 | public function actionSelfUpdate($version = null) |
||
48 | |||
49 | /** |
||
50 | * Does `composer dump-autoload`. |
||
51 | */ |
||
52 | public function actionDumpAutoload() |
||
56 | |||
57 | public function doInstall() |
||
63 | |||
64 | public function doUpdate() |
||
68 | |||
69 | public function run($command, $dir = null) |
||
82 | } |
||
83 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.