Exploring how Doctrine DBAL works