diff --git a/Doctrine/DB/Profiler.php b/Doctrine/DB/Profiler.php new file mode 100644 index 000000000..cbb63d0db --- /dev/null +++ b/Doctrine/DB/Profiler.php @@ -0,0 +1,46 @@ +. + */ +/** + * Doctrine_DB_Profiler + * + * @author Konsta Vesterinen + * @license LGPL + * @package Doctrine + */ +class Doctrine_DB_Profiler extends Doctrine_DB_EventListener { + public function onPreQuery(Doctrine_DB $dbh, array $args) { } + public function onQuery(Doctrine_DB $dbh, array $args) { } + + public function onPrePrepare(Doctrine_DB $dbh, array $args) { } + public function onPrepare(Doctrine_DB $dbh, array $args) { } + + public function onPreCommit(Doctrine_DB $dbh) { } + public function onCommit(Doctrine_DB $dbh) { } + + public function onPreRollBack(Doctrine_DB $dbh) { } + public function onRollBack(Doctrine_DB $dbh) { } + + public function onPreBeginTransaction(Doctrine_DB $dbh) { } + public function onBeginTransaction(Doctrine_DB $dbh) { } + + public function onPreExecute(Doctrine_DB_Statement $stmt, array $params) { } + public function onExecute(Doctrine_DB_Statement $stmt, array $params) { } +}