[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package s9e\TextFormatter 5 * @copyright Copyright (c) 2010-2022 The s9e authors 6 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 7 */ 8 namespace s9e\TextFormatter\Configurator; 9 10 use s9e\TextFormatter\Configurator; 11 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 public static function getConfigurator() 28 { 29 $configurator = new Configurator; 30 31 $bundle = new static; 32 $bundle->configure($configurator); 33 34 return $configurator; 35 } 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 public static function getOptions() 45 { 46 return []; 47 } 48 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |