| 1 | <?php |
||
| 12 | abstract class Bundle |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Configure a Configurator instance with this bundle's settings |
||
| 16 | * |
||
| 17 | * @param Configurator $configurator |
||
| 18 | * @return void |
||
| 19 | */ |
||
| 20 | abstract public function configure(Configurator $configurator); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create and return a configured instance of Configurator |
||
| 24 | * |
||
| 25 | * @return Configurator |
||
| 26 | */ |
||
| 27 | 1 | public static function getConfigurator() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Return extra options to be passed to the bundle generator |
||
| 39 | * |
||
| 40 | * Used by scripts/generateBundles.php |
||
| 41 | * |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | 1 | public static function getOptions() |
|
| 48 | } |