1 | <?php |
||
8 | class Config { |
||
9 | private $properties = []; |
||
10 | private $pseudo = []; |
||
11 | private $functionSet; |
||
12 | private $headers; |
||
13 | private $formatter; |
||
14 | private $baseDir; |
||
15 | private $elementData; |
||
16 | private $xPath; |
||
17 | private $valueParser; |
||
18 | |||
19 | public function __construct(Functionset $functionSet, Parser\Value $valueParser, Hook\ElementData $elementData, Hook\Formatter $formatter, Parser\CssToXpath $xPath, &$headers, &$baseDir) { |
||
28 | |||
29 | public function getFormatter() { |
||
32 | |||
33 | public function &getHeaders() { |
||
36 | |||
37 | public function &getBaseDir() { |
||
40 | |||
41 | public function registerFormatter($formatter) { |
||
44 | |||
45 | public function getFunctionSet() { |
||
48 | |||
49 | public function getElementData() { |
||
52 | |||
53 | public function getCssToXpath() { |
||
56 | |||
57 | public function getValueParser() { |
||
60 | |||
61 | public function registerProperty($name, Property $property) { |
||
64 | |||
65 | public function registerPseudo(Pseudo $pseudo) { |
||
68 | |||
69 | public function loadProperties(Hook\PropertyHook $hook) { |
||
72 | |||
73 | public function createPseudoMatcher($pseudo) { |
||
78 | |||
79 | } |