| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 63.64% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | trait InteractsWithConfig |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param $name |
||
| 13 | * @param null $default |
||
|
|
|||
| 14 | * @return array|null |
||
| 15 | */ |
||
| 16 | protected function getConfigStore($name, $default = null) |
||
| 17 | 2 | { |
|
| 18 | return $this->getConfig('stores.' . $name, $default = null); |
||
| 19 | 2 | } |
|
| 20 | |||
| 21 | /** |
||
| 22 | * Get the filesystem connection configuration. |
||
| 23 | * |
||
| 24 | * @param string $name |
||
| 25 | * @param null $default |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | protected function getConfig($name, $default = null) |
||
| 44 | } |
||
| 45 | } |
||
| 46 |