| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class TastyIgniterInstaller extends BaseInstaller |
||
| 6 | { |
||
| 7 | protected $locations = array( |
||
| 8 | 'extension' => 'extensions/{$vendor}/{$name}/', |
||
| 9 | 'theme' => 'themes/{$name}/', |
||
| 10 | ); |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Format package name. |
||
| 14 | * |
||
| 15 | * Cut off leading 'ti-ext-' or 'ti-theme-' if present. |
||
| 16 | * Strip vendor name of characters that is not alphanumeric or an underscore |
||
| 17 | * |
||
| 18 | */ |
||
| 19 | public function inflectPackageVars($vars) |
||
| 31 | } |
||
| 32 | } |