Some Value-Objects

1.0.3 2017-04-05 05:22 UTC


Build Status Codacy Badge

Value Objects

A collection of ValueOpjects that help me make my life easier.

The collection currently includes

  • Gis - A component for Geographic shapes like Points, Rectangles, Dimensions, Polygons and Shapes.
  • Pixel - A Pixel-Representation
  • DPI - A DPI-Representation

Stuff to be converted

$valueObject = new Pixels(2000);
$dimension = new DotsPerInch(72);
$converter = new Converter(new DotsPerInch(72));
$converter->from(new Pixels(2000))