summaryrefslogtreecommitdiff
path: root/src/Helpers/VersionServiceProvider.php
blob: 41e101589182eeee04ac7d8447e6897e0168f45a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Engelsystem\Helpers;

use Engelsystem\Container\ServiceProvider;

class VersionServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->when(Version::class)
            ->needs('$storage')
            ->give($this->app->get('path.storage.app'));
    }
}