server/src/app/Providers/GeonamesServiceProvider.php
author ymh <ymh.work@gmail.com>
Fri, 21 Oct 2016 14:45:47 +0200
changeset 382 ea0e8417e4dc
parent 304 20071981ba2a
permissions -rw-r--r--
correct problem with cache

<?php

namespace CorpusParole\Providers;

use Illuminate\Support\ServiceProvider;

use Config;

use CorpusParole\Services\GeonamesResolver;


class GeonamesServiceProvider extends ServiceProvider
{

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind('CorpusParole\Services\GeonamesResolverInterface', function($app) {
            return new GeonamesResolver($app['Guzzle']);
        });
    }
}