doctrine/doctrine2 — pull request #1181 by Ocramius (2014-11-11 14:55:22+00:00)
Title: Support fetching entities by aliased name

See #385 (this PR supersedes it)

The final aim is allowing something like:

```php
$user = $em->find(UserInterface::class, 123);
```

This PR depends also on doctrine/common#342