From 72f447f3dd4b9525294eb3dda3264741938512a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 4 Oct 2019 21:27:22 +0200 Subject: [PATCH] Use ::class notation in config - fix #13 --- docs/source/v2/configuration.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/v2/configuration.blade.md b/docs/source/v2/configuration.blade.md index 80c8539..2a97ad7 100644 --- a/docs/source/v2/configuration.blade.md +++ b/docs/source/v2/configuration.blade.md @@ -71,7 +71,7 @@ Read more about this on the [Filesystem Tenancy]({{ $page->link('filesystem-tena Tenant database managers handle the creation & deletion of tenant databases. This configuration array maps the database driver name to the `TenantDatabaseManager`, e.g.: ```php -'mysql' => 'Stancl\Tenancy\TenantDatabaseManagers\MySQLDatabaseManager' +'mysql' => Stancl\Tenancy\TenantDatabaseManagers\MySQLDatabaseManager::class ``` ### `database_manager_connections` {#database_maanger_connections} @@ -85,7 +85,7 @@ These are the classes that do the magic. When tenancy is initialized, TenancyBoo This config is an array. The key is the alias and the value is the full class name. ```php -'cache' => 'Stancl\Tenancy\TenancyBootstrappers\CacheTenancyBootstrapper', +'cache' => Stancl\Tenancy\TenancyBootstrappers\CacheTenancyBootstrapper::class, ``` The aliases are used by the [event system]({{ $page->link('event-system') }})