mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
3.x redesign
This commit is contained in:
parent
857122540f
commit
f8f354c323
229 changed files with 201175 additions and 22440 deletions
20
source/docs/v3/integrations/horizon.blade.md
Normal file
20
source/docs/v3/integrations/horizon.blade.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: Laravel Horizon integration
|
||||
extends: _layouts.documentation
|
||||
section: content
|
||||
---
|
||||
|
||||
# Laravel Horizon
|
||||
|
||||
Make sure your [queues]({{ $page->link('queues') }}) are configured correctly before using this.
|
||||
|
||||
You may add the current tenant's id to your job tags:
|
||||
|
||||
```php
|
||||
public function tags()
|
||||
{
|
||||
return [
|
||||
'tenant' => tenant('id'),
|
||||
];
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue