/**
* An executor of \pq\Query\Writer queries
+ * @codeCoverageIgnore
*/
-interface ExecutorInterface
+interface ExecutorInterface extends \SplSubject
{
/**
* Get the connection
* @return mixed the result of the callback
*/
function execute(WriterInterface $query, callable $callback);
+
+ /**
+ * @return WriterInterface
+ */
+ function getQuery();
+
+ /**
+ * @return \pq\Result
+ */
+ function getResult();
+
}