We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2eeaba1 + 072de01 commit c97f570Copy full SHA for c97f570
src/Bllim/Laravalid/LaravalidServiceProvider.php
@@ -43,13 +43,13 @@ public function register()
43
44
if(!isset($this->app['html']))
45
{
46
- $this->app->bindShared('html', function($app)
+ $this->app->singleton('html', function($app)
47
48
return new \Collective\Html\HtmlBuilder($app['url']);
49
});
50
}
51
52
- $this->app->bindShared('laravalid', function ($app) {
+ $this->app->singleton('laravalid', function ($app) {
53
$plugin = \Config::get('laravalid.plugin');
54
$converterClassName = 'Bllim\Laravalid\Converter\\'.$plugin.'\Converter';
55
$converter = new $converterClassName();
0 commit comments