/**
* A very simple query writer used by \pq\Gateway
*/
-class Writer
+class Writer implements WriterInterface
{
/**
* @var string
* @return \pq\Result
*/
function exec(\pq\Connection $c) {
- return $c->execParams($this, $this->params, $this->types);
+ return $c->execParams($this, $this->getParams(), $this->getTypes());
}
}