0
我已經開始學習laravel並嘗試將mailjet添加到RegisterController.php。我在名爲Mailjet.php的文件的應用程序文件夾中有一個名爲Mailjet的文件夾。此文件包含在RegisterControllerlaravel 5在應用程序文件夾中找不到mailjet類
use App\Mailjet\Mailjet;
這個命名空間開頭
namespace App\Mailjet;
但我得到這個錯誤
FatalErrorException in RegisterController.php line 24: Trait 'App\Http\Controllers\Auth\App\Mailjet\Mailjet' not found
雖然它應指向mailjet文件夾中的應用程序文件夾不在auth文件夾中。那麼如何解決這個問題以便從登錄中訪問mailjet,註冊控制器?