1 | <?php |
||
10 | abstract class AdapterAbstract implements AdapterInterface |
||
11 | { |
||
12 | private $options; |
||
13 | |||
14 | private $dbSelectBuilder; |
||
15 | |||
16 | /** |
||
17 | * @param Options $options |
||
18 | */ |
||
19 | 221 | protected function setOptions(Options $options): void |
|
23 | |||
24 | /** |
||
25 | * @return Options |
||
26 | */ |
||
27 | 206 | protected function getOptions(): Options |
|
31 | |||
32 | /** |
||
33 | * Data cannot contain keys like idColumnName, levelColumnName, ... |
||
34 | * |
||
35 | * @param array $data |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | 11 | protected function cleanData(array $data): array |
|
57 | |||
58 | /** |
||
59 | * @param array $data |
||
60 | * |
||
61 | * @return NodeInfo |
||
62 | */ |
||
63 | 91 | protected function _buildNodeInfoObject(array $data) |
|
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | 18 | public function setDbSelectBuilder(callable $selectBuilder): void |
|
89 | |||
90 | /** |
||
91 | * @return callable |
||
92 | */ |
||
93 | 62 | public function getDbSelectBuilder(): callable |
|
103 | } |
||
104 |