StatementMock.php 860 B

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