Skip to content

Commit a8607cf

Browse files
committed
Alias DataFormatterInterface
So it is instantiable
1 parent 5eb06e0 commit a8607cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ServiceProvider.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ protected function shouldUseMiddleware()
8686
*/
8787
public function register()
8888
{
89+
$this->app->alias(
90+
'DebugBar\DataFormatter\DataFormatter',
91+
'DebugBar\DataFormatter\DataFormatterInterface'
92+
);
93+
8994
$this->app['debugbar'] = $this->app->share(
9095
function ($app) {
9196
$debugbar = new LaravelDebugBar($app);

0 commit comments

Comments
 (0)