If that’s doing what I think it’s doing, then you can’t specify using faker, you’d need to actually manually write the date for each one (defeating the point). You’re out of luck on this I think. You’d need to use/write something more sophisticated to get what you want.
All faker generation is via functions, so
$name.firstName is running the function
name.firstName(). That’s fine if you want it to just randomly generate anything using faker functions that take no arguments. But it prevents you from using any of the faker functions that accept arguments (
date.between for example).
If you look at the demo page for faker, that has this issue: it returns null for
date.between because it’s just running
date.between() with no arguments.
There also won’t be a way to have a date created based on another object (so for example, you have a fake set of articles and each has a date subsequent to the previous one) because the tool you’re using isn’t set up to support that, it’s just trying to be as simple as possible.