1 | <?php |
||
10 | abstract class AbstractSeoConfigurator |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $config; |
||
16 | |||
17 | /** |
||
18 | * TwitterSeoConfigurator constructor. |
||
19 | * |
||
20 | * @param array $config |
||
21 | */ |
||
22 | public function __construct(array $config) |
||
26 | |||
27 | /** |
||
28 | * @param AbstractSeoGenerator $generator |
||
29 | */ |
||
30 | abstract public function configure(AbstractSeoGenerator $generator); |
||
31 | |||
32 | /** |
||
33 | * @param string $name |
||
34 | * |
||
35 | * @return mixed|null |
||
36 | */ |
||
37 | protected function getConfig($name) |
||
45 | } |
||
46 |