In that case the doctrine phpdoc needs an update. Driver connection should be marked as internal and the description of Connection is also irritating 
> A wrapper around a Doctrine\DBAL\Driver\Connection that adds features like events, ...