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

[5.4] Allow setting a factory's attribute to a factory instance #18879

Merged
merged 1 commit into from Apr 20, 2017

Conversation

Projects
None yet
2 participants
@JosephSilber
Contributor

JosephSilber commented Apr 20, 2017

The factory will then create the model and use its primary key.


This is the same as #18869, but without removing the lazy method.

Allow setting a factory's attribute to a factory instance
The factory will then create the model and use its primary key.

@taylorotwell taylorotwell merged commit b857ac0 into laravel:master Apr 20, 2017

2 checks passed

continuous-integration/styleci/pr The StyleCI analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@JosephSilber JosephSilber deleted the JosephSilber:factory-attribute-factory branch Apr 20, 2017

@JosephSilber JosephSilber restored the JosephSilber:factory-attribute-factory branch May 4, 2017

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