facile-it/zf1-dbal-adapter

This package is abandoned and no longer maintained. No replacement package was suggested.

ZF1 Doctrine DBAL Adapter for MySql

0.2.0 2020-05-08 13:47 UTC

This package is not auto-updated.

Last update: 2023-02-05 20:07:01 UTC


README

A ZF1 Zend_Db adapter to help migration to Doctrine DBAL on legacy ZF1 projects.

How to use

$connection = $container->get(\Doctrine\DBAL\Connection::class); // Get your DBAL connection
$adapter = new Facile\ZF1DbAdapter\Mysql\MysqlDBALAdapter($connection);

Zend_Db_Table::setDefaultAdapter($adapter);