Skip to content

Commit

Permalink
[1.x] [extensibility] feat: allow classes that extends AbstractJob
Browse files Browse the repository at this point in the history
…to be placed on a specified queue (#4026)

* feat: allow classes that extends AbstractJob to be placed on a specific queue

* Apply fixes from StyleCI

* php 7.3 compat

* Apply fixes from StyleCI

* change  to  to avoid conflicts with extensions that already do this

* chore: add docblock explaining that this solution only works for Redis queues

* Apply fixes from StyleCI

* chore: update docblock

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
imorland and StyleCIBot authored Sep 29, 2024
1 parent 5eccb38 commit dd1fb1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SendPusherNotificationsJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class SendPusherNotificationsJob extends AbstractJob

public function __construct(BlueprintInterface $blueprint, array $recipients)
{
parent::__construct();

$this->blueprint = $blueprint;
$this->recipients = $recipients;
}
Expand Down

0 comments on commit dd1fb1d

Please sign in to comment.