1 | <?php |
||
20 | class Base extends Controller |
||
21 | { |
||
22 | public $file = 'config/schema.yml'; |
||
23 | public $path = 'config/schema/'; |
||
24 | public $overrideFile = 'config/override.yml'; |
||
25 | public $exclude; |
||
26 | public $include; |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | * |
||
31 | * @return array |
||
32 | */ |
||
33 | public function options($actionID): array |
||
37 | |||
38 | /** |
||
39 | * Get the datatypes to import and/or export. |
||
40 | * |
||
41 | * @return array |
||
42 | */ |
||
43 | protected function getDataTypes(): array |
||
65 | |||
66 | /** |
||
67 | * Apply given includes. |
||
68 | * |
||
69 | * @param array $dataTypes |
||
70 | * |
||
71 | * @return array |
||
72 | */ |
||
73 | protected function applyIncludes($dataTypes): array |
||
89 | |||
90 | /** |
||
91 | * Apply given excludes. |
||
92 | * |
||
93 | * @param array $dataTypes |
||
94 | * |
||
95 | * @return array |
||
96 | */ |
||
97 | protected function applyExcludes(array $dataTypes): array |
||
113 | |||
114 | /** |
||
115 | * Disable normal logging (to stdout) while running console commands. |
||
116 | * |
||
117 | * @TODO: Find a less hacky way to solve this |
||
118 | */ |
||
119 | protected function disableLogging() |
||
125 | |||
126 | /** |
||
127 | * Convert a filename to one safe to use. |
||
128 | * |
||
129 | * @param $fileName |
||
130 | * @return mixed |
||
131 | */ |
||
132 | protected function toSafeFileName($fileName) { |
||
139 | |||
140 | /** |
||
141 | * Convert a safe filename back to it's original form. |
||
142 | * |
||
143 | * @param $fileName |
||
144 | * @return mixed |
||
145 | */ |
||
146 | protected function fromSafeFileName($fileName) { |
||
153 | } |
||
154 |