Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class SettingsDomain |
||
13 | { |
||
14 | // Update the Settings table in the database for a new system setting. |
||
15 | 16 | public function updateSettings($key, $value) |
|
23 | } |
||
24 | |||
25 | 4 | public function submitNewSettings($request) |
|
26 | { |
||
27 | 4 | $this->updateSettings('app.timezone', $request->timezone); |
|
28 | 4 | $this->updateSettings('filesystems.paths.max_size', $request->filesize); |
|
29 | |||
30 | 4 | return true; |
|
31 | } |
||
32 | |||
33 | // Save a new application logo |
||
34 | 4 | public function saveNewLogo(UploadedFile $file) |
|
41 | } |
||
42 | } |
||
43 |