| 1 | <?php namespace Arcanesoft\Foundation; |
||
| 12 | class Foundation implements FoundationContract |
||
| 13 | { |
||
| 14 | /* ------------------------------------------------------------------------------------------------ |
||
| 15 | | Constants |
||
| 16 | | ------------------------------------------------------------------------------------------------ |
||
| 17 | */ |
||
| 18 | const VERSION = '1.5.1'; |
||
| 19 | |||
| 20 | /* ------------------------------------------------------------------------------------------------ |
||
| 21 | | Properties |
||
| 22 | | ------------------------------------------------------------------------------------------------ |
||
| 23 | */ |
||
| 24 | /** |
||
| 25 | * The application instance. |
||
| 26 | * |
||
| 27 | * @var \Illuminate\Contracts\Foundation\Application |
||
| 28 | */ |
||
| 29 | protected $app; |
||
| 30 | |||
| 31 | /* ------------------------------------------------------------------------------------------------ |
||
| 32 | | Constructor |
||
| 33 | | ------------------------------------------------------------------------------------------------ |
||
| 34 | */ |
||
| 35 | /** |
||
| 36 | * Foundation constructor. |
||
| 37 | * |
||
| 38 | * @param \Illuminate\Contracts\Foundation\Application $app |
||
| 39 | */ |
||
| 40 | 6 | public function __construct(Application $app) |
|
| 44 | |||
| 45 | /* ------------------------------------------------------------------------------------------------ |
||
| 46 | | Getters & Setters |
||
| 47 | | ------------------------------------------------------------------------------------------------ |
||
| 48 | */ |
||
| 49 | /** |
||
| 50 | * Get the package version. |
||
| 51 | * |
||
| 52 | * @return string |
||
| 53 | */ |
||
| 54 | 3 | public function version() |
|
| 58 | } |
||
| 59 |