/** * Initialize a data sample using a value and the current time * * @param float $value * * @return Data */ public static function fromValue($value) { Assertion::float($value); return static::fromCarbon(new Carbon(), $value); }