Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Workflow] AddedRegistry::has()
to check if a workflow exists#34591
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
11866e1
to8a4f03d
Compare@lyrixx thanks for this contribution. In order to make this ready to be documented, could you please add some little example to the pull request description. Also, please tell us if there are some things to keep in mind about this feature (e.g. edge cases where it doesn't work, etc.) Thanks! |
@javiereguiluz I'm not sure it worth documenting it. This method is discoverable easily with autocomplete and It make what it is supposed to without edge case. Anyway I added a s mall example |
…low exists (lyrixx)This PR was merged into the 5.1-dev branch.Discussion----------[Workflow] Added `Registry::has()` to check if a workflow exists| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets |Fix#34584| License | MIT| Doc PR |---Allow to use```php$registry->has($subject);// or$registry->has($subject, 'workflow_a')```Commits-------8a4f03d [Workflow] Added `Registry::has()` to check if a workflow exists
Uh oh!
There was an error while loading.Please reload this page.
Allow to use