You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
engelsystem/src/Helpers/VersionServiceProvider.php

16 lines
313 B
PHP

<?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'));
}
}