| 1 | <?php |
||
| 7 | class CraftInstaller extends BaseInstaller |
||
| 8 | { |
||
| 9 | const NAME_PREFIX = 'craft'; |
||
| 10 | const NAME_SUFFIX = 'plugin'; |
||
| 11 | |||
| 12 | protected $locations = array( |
||
| 13 | 'plugin' => 'craft/plugins/{$name}/', |
||
| 14 | ); |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Strip `craft-` prefix and/or `-plugin` suffix from package names |
||
| 18 | * |
||
| 19 | * @param array $vars |
||
| 20 | * |
||
| 21 | * @return array |
||
| 22 | */ |
||
| 23 | final public function inflectPackageVars($vars) |
||
| 27 | |||
| 28 | private function inflectPluginVars($vars) |
||
| 35 | } |
||
| 36 |