projects
/
m6w6
/
pq-gateway
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
update from docs
[m6w6/pq-gateway]
/
lib
/
pq
/
Query
/
ExecutorInterface.php
diff --git
a/lib/pq/Query/ExecutorInterface.php
b/lib/pq/Query/ExecutorInterface.php
index 141ac230aa0077ced9c15eb2fe1eecf49acd9507..906404f0e0b13b06a494450b34feda053fe5a83c 100644
(file)
--- a/
lib/pq/Query/ExecutorInterface.php
+++ b/
lib/pq/Query/ExecutorInterface.php
@@
-4,8
+4,9
@@
namespace pq\Query;
/**
* An executor of \pq\Query\Writer queries
/**
* An executor of \pq\Query\Writer queries
+ * @codeCoverageIgnore
*/
*/
-interface ExecutorInterface
+interface ExecutorInterface
extends \SplSubject
{
/**
* Get the connection
{
/**
* Get the connection
@@
-27,4
+28,15
@@
interface ExecutorInterface
* @return mixed the result of the callback
*/
function execute(WriterInterface $query, callable $callback);
* @return mixed the result of the callback
*/
function execute(WriterInterface $query, callable $callback);
+
+ /**
+ * @return WriterInterface
+ */
+ function getQuery();
+
+ /**
+ * @return \pq\Result
+ */
+ function getResult();
+
}
}