Any reason I would get this error? I made a MessageController like so:
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class MessageController extends Controller
{
public function __construct()
{
Talk::setAuthUserId(auth()->user()->id);
}
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$inboxes = Talk::getInbox();
return $inboxes;
}
In my config\app I added
'Talk' => Nahid\Talk\Facades\Talk::class,
in the aliases so not sure why I am getting that error.
Any reason I would get this error? I made a MessageController like so:
In my
config\app
I added'Talk' => Nahid\Talk\Facades\Talk::class,
in the aliases so not sure why I am getting that error.