PSR-4 framework agnostic solution for converting between different UOM