Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: introduce method FactoryCollection::applyStateMethod()#956

Merged
nikophil merged 1 commit into
zenstruck:2.xfrom
nikophil:feat/apply-state-method
Aug 4, 2025
Merged

feat: introduce method FactoryCollection::applyStateMethod()#956
nikophil merged 1 commit into
zenstruck:2.xfrom
nikophil:feat/apply-state-method

Conversation

@nikophil
Copy link
Copy Markdown
Member

@nikophil nikophil commented Jul 30, 2025

this is another proposal which replaces #834

our factories at work are full of "state methods", and I want a way to be able to call a state method for each factory of a collection, but with different parameters

ping @smnandre 😉

@nikophil nikophil requested a review from kbond July 31, 2025 04:43
Copy link
Copy Markdown
Member

@kbond kbond left a comment

Choose a reason for hiding this comment

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

Looks great!

@nikophil nikophil merged commit 58fd89a into zenstruck:2.x Aug 4, 2025
72 checks passed
@nikophil nikophil deleted the feat/apply-state-method branch August 4, 2025 06:46
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