scratch – Blame information for rev 126
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
126 | office | 1 | <?php |
2 | namespace Aura\Composer; |
||
3 | |||
4 | use Composer\Package\PackageInterface; |
||
5 | use Composer\Installer\LibraryInstaller; |
||
6 | |||
7 | /** |
||
8 | * |
||
9 | * Really, we do nothing here, other than recognize `"type" : "aura-package". |
||
10 | * It installs like any other library package for Composer. |
||
11 | * |
||
12 | */ |
||
13 | class DefaultInstaller extends LibraryInstaller |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | */ |
||
18 | public function supports($packageType) |
||
19 | { |
||
20 | return $packageType == 'aura-package'; |
||
21 | } |
||
22 | } |