Skip to content

Commit c6626d4

Browse files
committed
Merge pull request #21 from rkgrep/di-aliases
Add class aliases for DI
2 parents 060494c + 8bdfb64 commit c6626d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public function register()
3737
});
3838

3939
$this->commands('command.widget.make');
40+
41+
$this->app->alias('arrilot.widget', 'Arrilot\Widgets\Factories\WidgetFactory');
42+
$this->app->alias('arrilot.async-widget', 'Arrilot\Widgets\Factories\AsyncWidgetFactory');
4043
}
4144

4245
/**

0 commit comments

Comments
 (0)