Trait to call rounding methods to interval or the interval of a period.
Methods | ||
---|---|---|
protected
|
callRoundMethod(string $method, array $parameters): ?static
|
# |
protected
|
roundWith(DateInterval|string|float|int $precision, callable|string $function): ?static
|
# |