| 1 | <?php |
||
| 26 | abstract class Bundle { |
||
| 27 | /** @var IL10N */ |
||
| 28 | protected $l10n; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param IL10N $l10n |
||
| 32 | */ |
||
| 33 | public function __construct(IL10N $l10n) { |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get the identifier of the bundle |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public final function getIdentifier() { |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get the name of the bundle |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public abstract function getName(); |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Get the list of app identifiers in the bundle |
||
| 55 | * |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | public abstract function getAppIdentifiers(); |
||
| 59 | } |
||
| 60 |