Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Deprecate API that will be removed #447

Merged

Conversation

GuySartorelli
Copy link
Collaborator

* If $queue is already the value of one of the constants, it will be returned.
* If the queue is unknown, `null` will be returned.
*/
public static function getQueue(string|int $queue): ?string
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this in two places so I've abstracted it out from the task into here.

src/Services/AbstractQueuedJob.php Show resolved Hide resolved
src/Tasks/ProcessJobQueueTask.php Show resolved Hide resolved
@emteknetnz emteknetnz merged commit b6c1c4f into symbiote:5 Sep 13, 2024
8 checks passed
@emteknetnz emteknetnz deleted the pulls/5/cms5-for-symfonysake branch September 13, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants