| author | ymh <ymh.work@gmail.com> |
| Sat, 17 Dec 2016 23:43:28 +0100 | |
| changeset 475 | dbb941b9fb66 |
| 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(); }); } }