doctrine/DoctrineModule — pull request #301 by elyobo (2013-07-20 10:43:28+00:00)
Title: Create new objects as required during hydration.

This patch allows the hydrator to create new entities as required during
inflation, if an existing entity cannot be found and there is data where
it expects to be, e.g. instead of

```php
setFoo('bar');
$data = array(
'entities' => array($new)
);
$hydrator->hydrate($data, $entity);
?>
```

it is instead possible to do

```php
array('foo' => 'bar')
);
$hydrator->hydrate($data, $entity);
?>
```