ZF3 master-master database replication using doctrine

Hello Guys,

I want to configure master-master database replication in zf3 using doctrine.Currently I am using single database; following is my database configuration

'doctrine' => [
    'connection' => [
        'orm_default' => [
            'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
            'params' => [
                'host' => 'localhost,
                'user' => 'root',
                'password' => 'root',
                'dbname' => 'my-db',
            ]
        ],
    ],
],

Please share if anyone has idea to achieve this.