From ee1601a41b628c9ecc96cd7cb1a0073184aa49fb Mon Sep 17 00:00:00 2001 From: Antonio Carlos Ribeiro Date: Tue, 26 Mar 2013 21:18:42 -0300 Subject: [PATCH] IoC bindind name was conflicting with Laravel 4 Html class. --- src/Jonob/HTML/HTMLFacade.php | 2 +- src/Jonob/HTML/HTMLServiceProvider.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Jonob/HTML/HTMLFacade.php b/src/Jonob/HTML/HTMLFacade.php index ce6d8bb..27795a3 100644 --- a/src/Jonob/HTML/HTMLFacade.php +++ b/src/Jonob/HTML/HTMLFacade.php @@ -9,6 +9,6 @@ class HTMLFacade extends Facade { * * @return string */ - protected static function getFacadeAccessor() { return 'html'; } + protected static function getFacadeAccessor() { return 'jonob/html'; } } \ No newline at end of file diff --git a/src/Jonob/HTML/HTMLServiceProvider.php b/src/Jonob/HTML/HTMLServiceProvider.php index 9340f13..d4d7f87 100644 --- a/src/Jonob/HTML/HTMLServiceProvider.php +++ b/src/Jonob/HTML/HTMLServiceProvider.php @@ -29,7 +29,7 @@ public function boot() */ public function register() { - $this->app['html'] = $this->app->share(function($app) + $this->app['jonob/html'] = $this->app->share(function($app) { return new HTML($app['url']); }); @@ -42,7 +42,7 @@ public function register() */ public function provides() { - return array('html'); + return array('jonob/html'); } } \ No newline at end of file