public function __invoke($_size, $rand) { $value = $rand($this->lowerLimit, $this->upperLimit); return GeneratedValue::fromJustValue($value, 'choose'); }