Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function __construct($variableModel, $cacheRepository, $app = null) |
||
26 | { |
||
27 | if (! $app) { |
||
28 | $app = app(); //Fallback when $app is not given |
||
29 | } |
||
30 | $this->app = $app; |
||
31 | |||
32 | $this->config = $this->app['config']->get('variables'); |
||
33 | |||
34 | $this->variableModel = $variableModel; |
||
35 | |||
36 | $this->cacheRepository = $cacheRepository; |
||
37 | } |
||
79 |