| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function createApplication() |
||
| 37 | { |
||
| 38 | $app = new Container(); |
||
| 39 | $app->bind('app', 'Illuminate\Container\Container'); |
||
| 40 | |||
| 41 | foreach ($this->PACKAGE_CLASSES as $PACKAGE_CLASS) { |
||
| 42 | $app->bind($PACKAGE_CLASS, $this->VENDOR.'\\'.$this->PACKAGE_NAME.'\\'.$PACKAGE_CLASS); |
||
| 43 | } |
||
| 44 | |||
| 45 | $app->bind('Cache', 'Illuminate\Support\Facades\Cache'); |
||
| 46 | |||
| 47 | $this->app = $app; |
||
| 48 | Facade::setFacadeApplication($app); |
||
|
|
|||
| 49 | } |
||
| 65 |