mathiasverraes/money — pull request #56 by sagikazarmark (2014-08-27 21:59:50+00:00)
Title: Feature/allocate

`allocate` now supports the following form: `$m->allocate(1, 1, 1)` (array can be ommited)

Adds `allocateTo`: Divides the amount to N equal values (the remainder is shared between the first K results)

Example:
``` php
$m = new Money::EUR(15);

// Returns [8, 7]
$m->allocateTo(2);
```

Please merge #55 before, so I can rebase this if needed