3 namespace Doctrine\Tests\Mocks;
6 * This class is a mock of the Statement interface.
8 * @author Alexander <iam.asm89@gmail.com>
10 class StatementMock implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
12 public function bindValue($param, $value, $type = null){}
13 public function bindParam($column, &$variable, $type = null, $length = null){}
14 public function errorCode(){}
15 public function errorInfo(){}
16 public function execute($params = null){}
17 public function rowCount(){}
18 public function closeCursor(){}
19 public function columnCount(){}
20 public function setFetchMode($fetchStyle, $arg2 = null, $arg3 = null){}
21 public function fetch($fetchStyle = null){}
22 public function fetchAll($fetchStyle = null){}
23 public function fetchColumn($columnIndex = 0){}
24 public function getIterator(){}