server/src/app/Providers/AppServiceProvider.php
changeset 1 01a844d292ac
child 2 00e2916104fe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/src/app/Providers/AppServiceProvider.php	Mon Jun 15 19:30:32 2015 +0200
@@ -0,0 +1,34 @@
+<?php namespace App\Providers;
+
+use Illuminate\Support\ServiceProvider;
+
+class AppServiceProvider extends ServiceProvider {
+
+	/**
+	 * Bootstrap any application services.
+	 *
+	 * @return void
+	 */
+	public function boot()
+	{
+		//
+	}
+
+	/**
+	 * Register any application services.
+	 *
+	 * This service provider is a great spot to register your various container
+	 * bindings with the application. As you can see, we are registering our
+	 * "Registrar" implementation here. You can add your own bindings too!
+	 *
+	 * @return void
+	 */
+	public function register()
+	{
+		$this->app->bind(
+			'Illuminate\Contracts\Auth\Registrar',
+			'App\Services\Registrar'
+		);
+	}
+
+}