From 46d7334067078e210232690d6f095034e8c36053 Mon Sep 17 00:00:00 2001 From: freek Date: Sat, 1 Dec 2018 14:17:32 +0100 Subject: [PATCH] rename client to app --- config/websockets.php | 10 +++++----- resources/views/dashboard.blade.php | 20 +++++++++---------- src/Apps/AppProvider.php | 2 +- src/Apps/ConfigAppProvider.php | 4 ++-- .../Http/Controllers/ShowDashboard.php | 4 ++-- src/HttpApi/Controllers/Controller.php | 2 +- src/WebSocketsServiceProvider.php | 2 +- .../ClientProviders/ConfigAppProviderTest.php | 16 +++++++-------- tests/TestCase.php | 2 +- 9 files changed, 30 insertions(+), 32 deletions(-) diff --git a/config/websockets.php b/config/websockets.php index 490e72b..fc17102 100644 --- a/config/websockets.php +++ b/config/websockets.php @@ -6,7 +6,7 @@ return [ /** * This package comes with multi tenancy out of the box. Here you can - * configure the different clients that can use the webSockets server. + * configure the different apps that can use the webSockets server. * * You should make sure that the app id is numeric. */ @@ -20,13 +20,13 @@ return [ ], /** - * This class is responsible for finding the clients. The default provider - * will use the clients defined in this config file. + * This class is responsible for finding the apps. The default provider + * will use the apps defined in this config file. * * You can create a custom provider by implementing the - * `ClientProvier` interface. + * `appProvier` interface. */ - 'client_provider' => ConfigAppProvider::class, + 'app_provider' => ConfigAppProvider::class, /* * This array contains the hosts of which you want to allow incoming requests. diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index bb4b5a3..9d755f2 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -17,11 +17,11 @@
- - + - +