I have the following class
<?php namespace App\Http\Controllers\InOut\PasswordReset;
use App\Http\Controllers\InOut\BaseIn;
class PasswordResetIn extends BaseIn
{
public $email;
function __construct($email)
{
$this->email = $email;
}
}
And I using it in my controller like this:
<?php namespace App\Http\Controllers;
use App\Http\Controllers\InOut\PasswordReset\PasswordResetIn;
use App\Http\Controllers\InOut\PasswordReset\PasswordResetOut;
...
For some reason I am always getting this error:
Class 'App\Http\Controllers\InOut\PasswordReset\PasswordResetIn' not found
The error is for this line:
$passwordResetIn = new PasswordResetIn($email);
In the UserController
class
I can't find any reason for this not to work, I have tried to get some information in the PSR-4 specs but nothing.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire