1: <?php
2:
3: namespace Alchemy\engine;
4: use PDOStatement;
5: use Iterator;
6:
7:
8: /**
9: * Interface for result set implementations
10: */
11: interface IResultSet extends Iterator {
12:
13: /**
14: * Return the last inserted ID form the database
15: *
16: * @return integer
17: */
18: public function lastInsertID();
19:
20:
21: /**
22: * Return the row count of the result set
23: *
24: * @return integer
25: */
26: public function rowCount();
27: }
28: