wip
This commit is contained in:
parent
b8c60171af
commit
6087789f3a
|
|
@ -17,7 +17,7 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
|
|||
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
|
||||
use BeyondCode\LaravelWebSockets\WebSocketServer\Pusher\Channels\ChannelManager;
|
||||
|
||||
abstract class EchoController implements HttpServerInterface
|
||||
abstract class Controller implements HttpServerInterface
|
||||
{
|
||||
/** @var \BeyondCode\LaravelWebSockets\WebSocketServer\Pusher\Channels\ChannelManager */
|
||||
protected $channelManager;
|
||||
|
|
@ -5,7 +5,7 @@ namespace BeyondCode\LaravelWebSockets\WebSocketServer\Controllers;
|
|||
use Illuminate\Http\Request;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
|
||||
class FetchChannel extends EchoController
|
||||
class FetchChannel extends Controller
|
||||
{
|
||||
public function __invoke(Request $request)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use Illuminate\Http\Request;
|
|||
use Illuminate\Support\Collection;
|
||||
use BeyondCode\LaravelWebSockets\WebSocketServer\Pusher\Channels\PresenceChannel;
|
||||
|
||||
class FetchChannels extends EchoController
|
||||
class FetchChannels extends Controller
|
||||
{
|
||||
public function __invoke(Request $request)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ use Illuminate\Support\Collection;
|
|||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
use BeyondCode\LaravelWebSockets\WebSocketServer\Pusher\Channels\PresenceChannel;
|
||||
|
||||
class FetchUsers extends EchoController
|
||||
class FetchUsers extends Controller
|
||||
{
|
||||
public function __invoke(Request $request)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace BeyondCode\LaravelWebSockets\WebSocketServer\Controllers;
|
|||
use BeyondCode\LaravelWebSockets\Events\ApiMessageSent;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class TriggerEvent extends EchoController
|
||||
class TriggerEvent extends Controller
|
||||
{
|
||||
public function __invoke(Request $request)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue