beberlei/assert — pull request #46 by beberlei (2014-01-25 18:50:16+00:00)
Title: \Assert\that() fluent API for validation

Using the static API on values is very verbose when checking values against multiple assertions.

This PR adds a much nicer fluent API for assertions, starting with ``\Assert\that($value)`` and then receiving the assertions you want to call on the fluent interface. You only have to specify the `$value` once.

```php
notEmpty()->integer();
\Assert\that($value)->nullOr()->string()->startsWith("Foo");
\Assert\that($values)->all()->float();
```