mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Don't imply that the events method is static
This commit is contained in:
parent
a025c6a472
commit
ba54f33962
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvid
|
||||||
mv database/migrations/*_create_permission_tables.php database/migrations/tenant
|
mv database/migrations/*_create_permission_tables.php database/migrations/tenant
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, add the following listeners to the `TenancyBootstrapped` and `TenancyEnded` events in `TenancyServiceProvider::events()`:
|
Next, add the following listeners to the `TenancyBootstrapped` and `TenancyEnded` events to `events()` in your `TenancyServiceProvider`:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
Events\TenancyBootstrapped::class => [
|
Events\TenancyBootstrapped::class => [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue