Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function __destruct()
 {
     if ($this->connection instanceof ConnectionInterface && $this->connection->isBound()) {
         $this->connection->close();
     }
 }