-
Notifications
You must be signed in to change notification settings - Fork 39
Quick Start Usage Guide
Jordan Brauer edited this page Dec 10, 2018
·
1 revision
If you'd like to skip the minutiae of this component's setup and get right down to business, you can get started by constructing a pre-configured converter via the builder object, like so,
use UnitConverter\UnitConverter;
$converter = UnitConverter::createBuilder()
->addSimpleCalculator()
->addDefaultRegistry()
->build();
That's it! Usage of the converter (see Converting Units) will remain the same as a manually configured instance.