| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class ConfigProvider |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Returns the configuration array |
||
| 21 | * |
||
| 22 | * To add a bit of a structure, each section is defined in a separate |
||
| 23 | * method which returns an array with its configuration. |
||
| 24 | * |
||
| 25 | * @return array |
||
| 26 | */ |
||
| 27 | public function __invoke() |
||
| 28 | { |
||
| 29 | return [ |
||
| 30 | 'dependencies' => $this->getDependencies(), |
||
| 31 | 'console' => $this->getConsoleConfig(), |
||
| 32 | ]; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Returns console configuration |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function getConsoleConfig() |
||
| 46 | ], |
||
| 47 | ]; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Returns the container dependencies |
||
| 52 | * |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | public function getDependencies() |
||
| 65 |