I've started learning laravel and try to add mailjet to the RegisterController.php . I have a folder named Mailjet in the app folder with a file named Mailjet.php . This file contains this namespace at the beginning
namespace App\Mailjet;
in the RegisterController
use App\Mailjet\Mailjet;
But I get this error
FatalErrorException in RegisterController.php line 24: Trait 'App\Http\Controllers\Auth\App\Mailjet\Mailjet' not found
While it should point to the mailjet folder in the app folder not in the auth folder. So how to fix this to access mailjet from the login, register controllers?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2nPKMSI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire