| author | ymh <ymh.work@gmail.com> |
| Fri, 04 Mar 2016 19:18:28 +0100 | |
| changeset 139 | 8d688175513a |
| 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(); }); } }