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',
],
];
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iMwCix
via IFTTT
Aucun commentaire:
Enregistrer un commentaire