Fixes 675 - Add |trans (Lang::get) and |transchoice (Lang::choice) filters

This commit is contained in:
Sam Georges 2014-10-11 12:31:14 +11:00
parent 3836a9b8d7
commit 543f1616b7
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ class ServiceProvider extends ModuleServiceProvider
'snake' => ['Str', 'snake'],
'camel' => ['Str', 'camel'],
'studly' => ['Str', 'studly'],
'trans' => ['Lang', 'get'],
'transchoice' => ['Lang', 'choice'],
'md' => ['October\Rain\Support\Markdown', 'parse'],
]);
});