author | ymh <ymh.work@gmail.com> |
Sat, 10 Jun 2017 17:57:34 +0200 | |
changeset 533 | a557802f2b12 |
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(); }); } }