18 protected $create_since;
55 $since = $this->create_since ?: time();
56 $until = $this->create_until ?: time();
58 return $this->
faker()->numberBetween($since, $until);
faker(string $locale= 'en_US')
Returns an instance of faker.
Saves user notification settings.
getRandomCreationTimestamp()
Get a random timestamp between a lower and upper time.
setCreateUntil($until= 'now')
Set a time for entities to be created until.
static normalizeTimestamp($time)
Returns timestamp value of the time representation.
setCreateSince($since= 'now')
Set a time for entities to be created after.