rename class

This commit is contained in:
freek 2018-12-03 14:07:18 +01:00
parent 933cf2c538
commit 154368bb49
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ namespace BeyondCode\LaravelWebSockets\Facades;
use Illuminate\Support\Facades\Facade;
/** @see \BeyondCode\LaravelWebSockets\Statistics\Logging\Logger */
/** @see \BeyondCode\LaravelWebSockets\Statistics\Logging\StatisticsLogger */
class StatisticsLogger extends Facade
{
protected static function getFacadeAccessor()

View File

@ -6,7 +6,7 @@ use BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManager;
use Illuminate\Support\Collection;
use Ratchet\ConnectionInterface;
class Logger
class StatisticsLogger
{
/** @var Statistic[] */
protected $statistics = [];

View File

@ -8,7 +8,7 @@ use BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\ShowDashboard;
use BeyondCode\LaravelWebSockets\Dashboard\Http\Middleware\Authorize;
use BeyondCode\LaravelWebSockets\Server\Router;
use BeyondCode\LaravelWebSockets\Statistics\Http\Controllers\WebsocketStatisticsEntriesController;
use BeyondCode\LaravelWebSockets\Statistics\Logging\Logger;
use BeyondCode\LaravelWebSockets\Statistics\Logging\StatisticsLogger;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\Facades\Route;
use BeyondCode\LaravelWebSockets\Apps\AppProvider;
@ -53,7 +53,7 @@ class WebSocketsServiceProvider extends ServiceProvider
});
$this->app->singleton('websockets.statisticslogger', function() {
return new Logger(app(ChannelManager::class));
return new StatisticsLogger(app(ChannelManager::class));
});
$this->app->singleton(AppProvider::class, function() {