Example #1
0
 /**
  * @return string  string represenation of exception with SQL command
  */
 public function __toString()
 {
     return parent::__toString() . ($this->sql ? "\nSQL: " . $this->sql : '');
 }