src/SleepingOwl/Admin/AdminServiceProvider.php
public function register()
	{
		$this->registerCommands();

		$this->app->register('\Intervention\Image\ImageServiceProvider');
		$this->app->register('\SleepingOwl\AdminAuth\AdminAuthServiceProvider');

		$this->registerFormBuilder();

		$this->app->bind('SleepingOwl\Admin\Repositories\Interfaces\ModelRepositoryInterface', 'SleepingOwl\Admin\Repositories\ModelRepository');

		$this->app->bindShared('SleepingOwl\Admin\Admin', function ($app)
		{
			return Admin::instance();
		});
		$this->app->singleton('admin', 'SleepingOwl\Admin\Admin');
		$this->app->bind('admin.router', function ()
		{
			return Admin::instance()->router;
		});

		$this->registerValidateExceptionHandler();
	}
public function register()
	{
		$this->registerCommands();

		$this->app->register('\Intervention\Image\ImageServiceProvider');
		$this->app->register('\SleepingOwl\AdminAuth\AdminAuthServiceProvider');

		$this->registerFormBuilder();

		$this->app->bind('SleepingOwl\Admin\Repositories\Interfaces\ModelRepositoryInterface', 'SleepingOwl\Admin\Repositories\ModelRepository');

		$this->app->bindShared('SleepingOwl\Admin\Admin', function ($app)
		{
			return Admin::instance();
		});
		$this->app->singleton('admin', 'SleepingOwl\Admin\Admin');
		$this->app->bind('admin.router', function ()
		{
			return Admin::instance()->router;
		});

		$this->registerValidateExceptionHandler();
	}
Register the service provider.
@return void