return Redirect::to('')
->with('message',SiteHelpers::alert('success','Password has been saved!'));
我在上面的行中遇到错误
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Class 'SiteHelpers' not found
我将 SiteHelper.php 保存在这个路径 /var/www/html/login_session/app/library
最佳答案
我在我的 composer.json 中添加了“app/library”并在我的终端中运行 composer install
关于php - Laravel 4.2 找不到类错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32881394/