I'm using Laravel 5.3, and I've a config file, which is calling trans()
function. When I run php artisan
, It will give me an error
Class translator does not exist
This is my config file
<?php
return [
'modules' => [
'name' => trans('menus.module'),
'url' => 'modules',
],
];
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire