diff --git a/lib/Doctrine/Query.php b/lib/Doctrine/Query.php index 207983d59..1e6e16473 100644 --- a/lib/Doctrine/Query.php +++ b/lib/Doctrine/Query.php @@ -664,6 +664,19 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable public function preQuery() { + } + /** + * postQuery + * + * Empty template method to provide Query subclasses with the possibility + * to hook into the query building procedure, doing any custom / specialized + * post query procedures (for example logging) that are neccessary. + * + * @return void + */ + public function postQuery() + { + } /** * builds the sql query from the given parameters and applies things such as