laravel-websockets/src/Exceptions/InvalidWebSocketController.php

11 lines
318 B
PHP
Raw Normal View History

2018-11-20 10:32:56 +00:00
<?php
namespace BeyondCode\LaravelWebSockets\Exceptions;
class InvalidWebSocketController extends \Exception
{
public static function withController($controller)
{
return new static('Invalid WebSocket Controller provided. Expected instance of WebSocketController, but received '.$controller);
}
}