Skip to content

[Workflow] pass arguments to getMetadata method #14151

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

Merged
merged 1 commit into from
Sep 2, 2020
Merged

[Workflow] pass arguments to getMetadata method #14151

merged 1 commit into from
Sep 2, 2020

Conversation

lubo13
Copy link
Contributor

@lubo13 lubo13 commented Aug 30, 2020

By my opinion and the code in a trait, I saw that to the getMetadata method we should pass two arguments. But the first should be the key from metadata and the second should be null (for workflow's metadata), string (for place's metadata) or instance of Transition (for transition's metadata)

@lubo13 lubo13 requested review from HeahDude and xabbuh as code owners August 30, 2020 12:37
@lubo13 lubo13 changed the base branch from 4.4 to 5.1 August 30, 2020 12:52
@lubo13 lubo13 changed the title Patch 1 [Workflow] pass arguments to getMetadata method Aug 30, 2020
@xabbuh xabbuh added the Workflow label Sep 1, 2020
@xabbuh xabbuh added this to the 4.4 milestone Sep 1, 2020
@javiereguiluz javiereguiluz changed the base branch from 5.1 to 4.4 September 2, 2020 15:47
@javiereguiluz javiereguiluz merged commit b1487e3 into symfony:4.4 Sep 2, 2020
@javiereguiluz
Copy link
Member

I like this a lot! Thanks @lubo13 and congrats on your first Symfony Docs contribution! (please note that we've made some rewords while merging and we've merged this in 4.4, 5.1 and master branches, which are the supported ones).

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

Successfully merging this pull request may close these issues.

4 participants