Can we add an example to the docs on Model factories using HasFactory? #49814
Unanswered
drewgallagher
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This part of the docs on model factories discusses using
HasFactory
but omits code examples using the trait.This trait is necessary to implement what is outlined in the docs.
Can we add examples to the docs so people who haven't used traits or are unaware of how to use the HasFactory trait can see it?
Beta Was this translation helpful? Give feedback.
All reactions