@@ 125-131 (lines=7) @@ | ||
122 | * |
|
123 | * @param array $conf |
|
124 | */ |
|
125 | protected function setupSourceData(array $conf) |
|
126 | { |
|
127 | $this->databases = Util\Str::toList(Util\Arr::getValue($conf, 'databases')); |
|
128 | $this->collections = Util\Str::toList(Util\Arr::getValue($conf, 'collections')); |
|
129 | $this->excludeCollections = Util\Str::toList(Util\Arr::getValue($conf, 'excludeCollections')); |
|
130 | $this->excludeCollectionsWithPrefix = Util\Str::toList(Util\Arr::getValue($conf, 'excludeCollectionsWithPrefix')); |
|
131 | } |
|
132 | ||
133 | /** |
|
134 | * Fetch credential settings. |
@@ 175-181 (lines=7) @@ | ||
172 | * |
|
173 | * @param array $conf |
|
174 | */ |
|
175 | protected function setupSourceData(array $conf) |
|
176 | { |
|
177 | $this->tables = Util\Str::toList(Util\Arr::getValue($conf, 'tables')); |
|
178 | $this->databases = Util\Str::toList(Util\Arr::getValue($conf, 'databases')); |
|
179 | $this->ignoreTables = Util\Str::toList(Util\Arr::getValue($conf, 'ignoreTables')); |
|
180 | $this->structureOnly = Util\Str::toList(Util\Arr::getValue($conf, 'structureOnly')); |
|
181 | } |
|
182 | ||
183 | /** |
|
184 | * Execute the backup. |