<?php namespace Idocrea8\Hook;

use Illuminate\Support\ServiceProvider;
use Idocrea8\Hook\Hook;

class HookServiceProvider extends ServiceProvider {

	/**
	 * Indicates if loading of the provider is deferred.
	 *
	 * @var bool
	 */
	protected $defer = false;

	/**
	 * Register the service provider.
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app['hook'] = $this->app->share(function($app) {
           return new Hook;
        });
	}

	/**
	 * Get the services provided by the provider.
	 *
	 * @return array
	 */
	public function provides()
	{
		return array();
	}

}
