1 | <?php |
||
8 | class DefaultConfigurator implements ResponsiveFactoryConfigurator { |
||
9 | |||
10 | protected $config = [ |
||
11 | 'driver' => 'gd', |
||
12 | 'publicPath' => './', |
||
13 | 'sourcePath' => './', |
||
14 | 'enableCache' => false, |
||
15 | 'stepModifier' => 0.1, |
||
16 | 'minSize' => 300, |
||
17 | ]; |
||
18 | |||
19 | /** |
||
20 | * ResponsiveFactoryConfigurator constructor. |
||
21 | * |
||
22 | * @param array $config |
||
23 | * |
||
24 | * @throws InvalidConfigurationException |
||
25 | */ |
||
26 | public function __construct(array $config = []) { |
||
33 | |||
34 | /** |
||
35 | * @param ResponsiveFactory $factory |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | public function configure(ResponsiveFactory $factory) { |
||
48 | |||
49 | /** |
||
50 | * @return array |
||
51 | */ |
||
52 | public function getConfig() { |
||
55 | } |
||
56 |