symfony/symfony — comment on commit a1784c2b97c32dbfe82daf3d734b056e95cabd2d
File: src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php line 33
By stof:

it is. In fact, the interface is splitted in two: a [``ConnectionRegistry``](https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Persistence/ConnectionRegistry.php) (which has this method) aimed to be used if you only have DBAL in your app and no object manager, and [``ManagerRegistry``](https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Persistence/ManagerRegistry.php) which extends it