Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Merged
lyrixx merged 1 commit intosymfony:masterfromlyrixx:workflow-registry-has
Nov 29, 2019

Conversation

lyrixx
Copy link
Member

@lyrixxlyrixx commentedNov 25, 2019
edited
Loading

QA
Branch?master
Bug fix?no
New feature?yes
Deprecations?no
TicketsFix#34584
LicenseMIT
Doc PR

Allow to use

$registry->has($subject);// or$registry->has($subject,'workflow_a')

@javiereguiluz
Copy link
Member

@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!

@lyrixx
Copy link
MemberAuthor

@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

lyrixx added a commit that referenced this pull requestNov 29, 2019
…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
@lyrixxlyrixx merged commit8a4f03d intosymfony:masterNov 29, 2019
@nicolas-grekasnicolas-grekas modified the milestones:next,5.1May 4, 2020
@fabpotfabpot mentioned this pull requestMay 5, 2020
@lyrixxlyrixx deleted the workflow-registry-has branchJune 30, 2023 10:23
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

Assignees
No one assigned
Projects
None yet
Milestone
5.1
Development

Successfully merging this pull request may close these issues.

Workflow component should allow to check if object has a workflow defined
4 participants
@lyrixx@javiereguiluz@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp