when i try to define Agent in Controller like with:
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests, SEOToolsTrait, Jenssegers\Agent\Agent;
public $agent;
public function __construct()
{
$this->agent = new Agent();
}
}
i get this error:
Trait 'App\Http\Controllers\Jenssegers\Agent\Agent' not found
when i try to define Agent in Controller like with:
i get this error:
Trait 'App\Http\Controllers\Jenssegers\Agent\Agent' not found