| 1 | <?php namespace Modules\Core\Composers; |
||
| 7 | class ApplicationVersionViewComposer |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Filesystem |
||
| 11 | */ |
||
| 12 | private $filesystem; |
||
| 13 | /** |
||
| 14 | * @var Repository |
||
| 15 | */ |
||
| 16 | private $cache; |
||
| 17 | |||
| 18 | public function __construct(Filesystem $filesystem, Repository $cache) |
||
| 23 | |||
| 24 | public function compose(View $view) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | private function getAppVersion() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Get the decoded contents from the main composer.json file |
||
| 41 | * @return object |
||
| 42 | */ |
||
| 43 | private function getComposerFile() |
||
| 51 | } |
||
| 52 |