diff --git a/en/cookbook/integrating-with-codeigniter.rst b/en/cookbook/integrating-with-codeigniter.rst index fcc7ac774..1c06a34e2 100644 --- a/en/cookbook/integrating-with-codeigniter.rst +++ b/en/cookbook/integrating-with-codeigniter.rst @@ -49,7 +49,7 @@ Customize it to your needs. Doctrine\ORM\Configuration, Doctrine\ORM\EntityManager, Doctrine\Common\Cache\ArrayCache, - Doctrine\DBAL\Logging\EchoSqlLogger; + Doctrine\DBAL\Logging\EchoSQLLogger; class Doctrine { @@ -86,8 +86,8 @@ Customize it to your needs. $config->setProxyNamespace('Proxies'); // Set up logger - $logger = new EchoSqlLogger; - $config->setSqlLogger($logger); + $logger = new EchoSQLLogger; + $config->setSQLLogger($logger); $config->setAutoGenerateProxyClasses( TRUE );