Implementing the Doctrine DBAL