| Total Complexity | 2 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Arcanesoft\Foundation; |
||
| 12 | class Foundation implements FoundationContract |
||
| 13 | { |
||
| 14 | /* ----------------------------------------------------------------- |
||
| 15 | | Constants |
||
| 16 | | ----------------------------------------------------------------- |
||
| 17 | */ |
||
| 18 | |||
| 19 | const VERSION = '2.4.2'; |
||
| 20 | |||
| 21 | /* ----------------------------------------------------------------- |
||
| 22 | | Properties |
||
| 23 | | ----------------------------------------------------------------- |
||
| 24 | */ |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The application instance. |
||
| 28 | * |
||
| 29 | * @var \Illuminate\Contracts\Foundation\Application |
||
| 30 | */ |
||
| 31 | protected $app; |
||
| 32 | |||
| 33 | /* ----------------------------------------------------------------- |
||
| 34 | | Constructor |
||
| 35 | | ----------------------------------------------------------------- |
||
| 36 | */ |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Foundation constructor. |
||
| 40 | * |
||
| 41 | * @param \Illuminate\Contracts\Foundation\Application $app |
||
| 42 | */ |
||
| 43 | 4 | public function __construct(Application $app) |
|
| 44 | { |
||
| 45 | 4 | $this->app = $app; |
|
| 46 | 4 | } |
|
| 47 | |||
| 48 | /* ----------------------------------------------------------------- |
||
| 49 | | Getters & Setters |
||
| 50 | | ----------------------------------------------------------------- |
||
| 51 | */ |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Get the package version. |
||
| 55 | * |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | 2 | public function version() |
|
| 61 | } |
||
| 62 | } |
||
| 63 |