Skip to content

[11.x] Add getJob() method to PendingDispatch class + Introduced tests#53951

Merged
taylorotwell merged 3 commits into
laravel:11.xfrom
pascalbaljet:pending-dispatch-get-job-and-tests
Dec 17, 2024
Merged

[11.x] Add getJob() method to PendingDispatch class + Introduced tests#53951
taylorotwell merged 3 commits into
laravel:11.xfrom
pascalbaljet:pending-dispatch-get-job-and-tests

Conversation

@pascalbaljet

Copy link
Copy Markdown
Member

This PR adds a getJob() method to the PendingDispatch class, which allows you to access the public properties of the underlying job instance. I have also added a test for this new method, as well as tests to ensure that the other existing methods are correctly proxied to the underlying job instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants