diff --git a/source/docs/v3/integrations/horizon.blade.md b/source/docs/v3/integrations/horizon.blade.md index 2d06dee..aac1293 100644 --- a/source/docs/v3/integrations/horizon.blade.md +++ b/source/docs/v3/integrations/horizon.blade.md @@ -8,13 +8,20 @@ section: content 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: +## Tags + +You may add the current tenant's id to your job tags by defining a `tags` method on the class: ```php +/** +* Get the tags that should be assigned to the job. +* +* @return array +*/ public function tags() { return [ - 'tenant' => tenant('id'), + 'tenant:' . tenant('id'), ]; } ``` \ No newline at end of file