You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
I already did something in my project where it uses faker to fill objects and tries to guess the format if not it goes by the input type (int|string|bool) it works even with custom object.
There is already something inside for Doctrine entities but I couldn't find it for objects with some setters.
Btw this works only if the object has setters.
Self-enclosed code snippet for reproduction
To use it you just provide the object and it will fill it.
Example
Summary
I already did something in my project where it uses faker to fill objects and tries to guess the format if not it goes by the input type (int|string|bool) it works even with custom object.
There is already something inside for Doctrine entities but I couldn't find it for objects with some setters.
Btw this works only if the object has setters.
Self-enclosed code snippet for reproduction
To use it you just provide the object and it will fill it.
Example
The text was updated successfully, but these errors were encountered: