1 | <?php |
||
19 | class Bower extends PackageManager |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | protected $name = 'bower'; |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | public $file = 'bower.json'; |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public $rcfile = '.bowerrc'; |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public $phpPackage = 'beelab/bowerphp'; |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public $phpBin = 'bowerphp'; |
||
45 | |||
46 | /** |
||
47 | * @var array Minimal bower config |
||
48 | */ |
||
49 | protected $config = [ |
||
50 | 'name' => 'composer-asset-plugin', |
||
51 | 'description' => "This file is auto-generated with 'hiqdev/composer-asset-plugin'.", |
||
52 | ]; |
||
53 | |||
54 | public function setDestination($dir) |
||
61 | |||
62 | public function writeRc($path, $data) |
||
66 | |||
67 | public function fixConstraint($constraint) |
||
80 | } |
||
81 |