Commit 0d550e93 authored by Mathias Verraes's avatar Mathias Verraes
Browse files

formatting

parent 9b0668bc
......@@ -26,19 +26,19 @@ subtle intricacies of handling money.
Usage
=====
<?php
use Verraes\Money\Money,
Verraes\Money\Usd,
Verraes\Money\Euro;
// One EURO, expressed in cents
$eur1 = new Money(100, new Euro);
// Shortcut
$eur2 = Money::euro(200);
Money::euro(300)->equals(
$eur1->add($eur2)
);
<?php
use Verraes\Money\Money,
Verraes\Money\Usd,
Verraes\Money\Euro;
// One EURO, expressed in cents
$eur1 = new Money(100, new Euro);
// Shortcut
$eur2 = Money::euro(200);
Money::euro(300)->equals(
$eur1->add($eur2)
);
Inspiration
===========
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment