1
0
mirror of synced 2024-12-14 23:26:04 +03:00

Fix DDC-560

This commit is contained in:
Benjamin Eberlei 2010-05-01 03:38:03 +02:00
parent c0dc0112d3
commit b4bc4b029d

View File

@ -72,8 +72,8 @@ Doctrine is already shipped with two implementations for the "PostConnect" event
You can register events by subscribing them to the `EventManager` instance passed to the Connection factory:
[php]
$evm = new EventManager(),
$evm->addEventSubscriber(new MysqlSessionInit('UTF-8'));
$evm = new EventManager();
$evm->addEventSubscriber(new MysqlSessionInit('UTF8'));
$conn = DriverManager::getConnection($connectionParams, null, $evm);