Created
July 20, 2012 08:19
-
-
Save awartoft/3149540 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Override the ZDT_DbCollector | |
'ZDT_DbCollector' => function($sm) { | |
$logs = $sm->get('doctrine.entitymanager.orm_default'); | |
->getConnection() | |
->getConfiguration() | |
->getSQLLogger(); | |
return new \MCNCore\Object\Profiler($logs); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment