Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class FileSystemProvider extends ServiceProvider |
||
9 | { |
||
10 | public function boot() |
||
11 | { |
||
12 | $this->setConsts(); |
||
13 | $this->registerFacade(); |
||
14 | } |
||
15 | |||
16 | private function setConsts() |
||
17 | { |
||
18 | if (! defined('DS')) { |
||
19 | define('DS', DIRECTORY_SEPARATOR); |
||
20 | } |
||
21 | } |
||
22 | |||
23 | private function registerFacade() |
||
27 | }); |
||
28 | } |
||
29 | } |