format('ymd'); $genderAndCenturyId = (string) static::numberBetween(1, 6); $randomDigits = (string) static::numerify('#####'); return $dateAsString . $genderAndCenturyId . $randomDigits; } }