author | ymh <ymh.work@gmail.com> |
Fri, 17 Nov 2017 00:06:39 +0100 | |
changeset 556 | a31f1343b913 |
parent 28 | b0b56e0f8c7f |
permissions | -rw-r--r-- |
<?php namespace CorpusParole\Providers; use CorpusParole\Services\Version; use Illuminate\Support\ServiceProvider; /** * guzzle Service Provider, inspired by https://github.com/urakozz/laravel-guzzle */ class VersionServiceProvider extends ServiceProvider { /** * Register the version provider * * @return Version */ public function register() { $this->app->singleton('version', function($app) { return new Version(); }); } }