Sets the Calculator instance to use.
An instance is typically set only in unit tests: the autodetect is usually the best option.
Calculator|null $calculator The calculator instance, or NULL to revert to autodetect.:
public static final function set(?Calculator $calculator) : void { self::$instance = $calculator; }