Skip to content

Commit 5d6e198

Browse files
authoredMar 28, 2017
Merge pull request #31 from AlexECP/patch-1
dont set DbView alias in service provider
2 parents e21ea87 + bb58e13 commit 5d6e198

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎src/Flynsarmy/DbBladeCompiler/DbBladeCompilerServiceProvider.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ public function register()
4747
return new DbBladeCompiler($app['files'], $cache_path, $app['config']);
4848
});
4949

50-
$this->app->booting(function () {
51-
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
52-
$loader->alias('DbView', DbView::class);
53-
});
5450
}
5551

5652
/**
@@ -63,4 +59,4 @@ public function provides()
6359
return array();
6460
}
6561

66-
}
62+
}

0 commit comments

Comments
 (0)
Please sign in to comment.