/** * Returns the hash. * * @return string */ public function getHash() { // Never remove the database from the identifier // Most SQL queries do not include the target database $identifier = $this->reflector->getDatabase() . $this->reflector->getSql() . serialize($this->reflector->getParameters()); return md5($identifier); }