Answer the question
In order to leave comments, you need to log in
How to implement factories in Yii2 and what are they for?
I can't figure out how to implement them.
For example, I figured out the repositories. This simplifies working with the database
https://laravel.ru/posts/30 using this article as an example.
But what about factories?
Does anyone have a similar example?
Answer the question
In order to leave comments, you need to log in
Same as without Yii: https://sourcemaking.com/design_patterns/abstract_...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question