| 1 | <?php |
||
| 9 | class CustomInstaller extends LibraryInstaller |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Decides if the installer supports the given type |
||
| 13 | * |
||
| 14 | * @param string $packageType |
||
| 15 | * |
||
| 16 | * @return bool |
||
| 17 | */ |
||
| 18 | public function supports($packageType) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Returns the installation path of a package |
||
| 25 | * |
||
| 26 | * @param PackageInterface $package |
||
| 27 | * |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getInstallPath(PackageInterface $package) |
||
| 46 | } |
||
| 47 |