1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/StatementMock.php

26 lines
860 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Mocks;
/**
* This class is a mock of the Statement interface.
*
* @author Alexander <iam.asm89@gmail.com>
*/
class StatementMock implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
{
public function bindValue($param, $value, $type = null){}
2012-10-23 02:09:38 +04:00
public function bindParam($column, &$variable, $type = null, $length = null){}
public function errorCode(){}
public function errorInfo(){}
public function execute($params = null){}
public function rowCount(){}
public function closeCursor(){}
public function columnCount(){}
public function setFetchMode($fetchStyle, $arg2 = null, $arg3 = null){}
public function fetch($fetchStyle = null){}
public function fetchAll($fetchStyle = null){}
public function fetchColumn($columnIndex = 0){}
public function getIterator(){}
}