org_heigl/valueobjects

Some Value-Objects

Installs: 2 097

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 0

Open Issues: 2

pkg:composer/org_heigl/valueobjects

1.0.3 2017-04-05 05:22 UTC

README

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))
          ->to('\\Org_Heigl\\ValueObjects\\Length\\Meter')
          ->convert();