Skip to content

Commit

Permalink
Merge pull request #731 from abellion/5.6-translator-alias
Browse files Browse the repository at this point in the history
Add translator alias
  • Loading branch information
taylorotwell authored Feb 28, 2018
2 parents f22ad17 + bdd1149 commit b8ed539
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,7 @@ protected function registerContainerAliases()
'Illuminate\Contracts\Queue\Queue' => 'queue.connection',
'request' => 'Illuminate\Http\Request',
'Laravel\Lumen\Routing\Router' => 'router',
'Illuminate\Contracts\Translation\Translator' => 'translator',
'Laravel\Lumen\Routing\UrlGenerator' => 'url',
'Illuminate\Contracts\Validation\Factory' => 'validator',
'Illuminate\Contracts\View\Factory' => 'view',
Expand Down

0 comments on commit b8ed539

Please # to comment.