Convert to new bindShared method on container.

This commit is contained in:
Taylor Otwell committed 2013-10-29 10:02:29 -05:00
1 parent 882b5cf3c7
commit b2f33ae986
1 file changed
+2 -2
+2 -2
View File
@@ -30,7 +30,7 @@ class HtmlServiceProvider extends ServiceProvider {
*/
protected function registerHtmlBuilder()
{
$this->app['html'] = $this->app->share(function($app)
$this->app->bindShared('html', function($app)
{
return new HtmlBuilder($app['url']);
});
@@ -43,7 +43,7 @@ class HtmlServiceProvider extends ServiceProvider {
*/
protected function registerFormBuilder()
{
$this->app['form'] = $this->app->share(function($app)
$this->app->bindShared('form', function($app)
{
$form = new FormBuilder($app['html'], $app['url'], $app['session.store']->getToken());