Laravel 5.3.19 Illuminate \ Support \ Str :: class错误语法错误,意外&#39 ;;'

时间:2016-10-26 03:26:48

标签: laravel-5 blade laravel-5.3 illuminate-container

当我使用来自Alliases的Str

时出错

别名声明:

    'Str' => Illuminate\Support\Str::class,

用法:

<p>{{ Str::limit($notice->description,100)}}</p>

错误类型:

FatalErrorException in aae7b22b68f86ae3874e1bac917a810813cbf059.php line 380: syntax error, unexpected ';'

0 个答案:

没有答案