Skip to content

Commit

Permalink
Merge pull request #21 from rkgrep/di-aliases
Browse files Browse the repository at this point in the history
Add class aliases for DI
  • Loading branch information
arrilot committed Nov 13, 2015
2 parents 060494c + 8bdfb64 commit c6626d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function register()
});

$this->commands('command.widget.make');

$this->app->alias('arrilot.widget', 'Arrilot\Widgets\Factories\WidgetFactory');
$this->app->alias('arrilot.async-widget', 'Arrilot\Widgets\Factories\AsyncWidgetFactory');
}

/**
Expand Down

0 comments on commit c6626d4

Please sign in to comment.