1 <?php namespace CupOfTea\Counter;
2
3 use Illuminate\Support\ServiceProvider;
4
5 class CounterServiceProvider extends ServiceProvider
6 {
7 /**
8 * Register bindings in the container.
9 *
10 * @return void
11 */
12 public function register()
13 {
14 $this->app->singleton(Counter::class, function ($app) {
15 return new Counter;
16 });
17 }
18 }
19