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