1
0
mirror of synced 2025-02-03 05:49:25 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/StatementMock.php

103 lines
1.6 KiB
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Mocks;
use Doctrine\DBAL\Driver\Statement;
/**
* This class is a mock of the Statement interface.
*
* @author Alexander <iam.asm89@gmail.com>
*/
class StatementMock implements \IteratorAggregate, Statement
{
/**
* {@inheritdoc}
*/
public function bindValue($param, $value, $type = null)
{
}
/**
* {@inheritdoc}
*/
public function bindParam($column, &$variable, $type = null, $length = null)
{
}
/**
* {@inheritdoc}
*/
public function errorCode()
{
}
/**
* {@inheritdoc}
*/
public function errorInfo(){}
/**
* {@inheritdoc}
*/
public function execute($params = null)
{
}
/**
* {@inheritdoc}
*/
public function rowCount()
{
}
/**
* {@inheritdoc}
*/
public function closeCursor()
{
}
/**
* {@inheritdoc}
*/
public function columnCount()
{
}
/**
* {@inheritdoc}
*/
public function setFetchMode($fetchStyle, $arg2 = null, $arg3 = null)
{
}
/**
* {@inheritdoc}
*/
public function fetch($fetchMode = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
}
/**
* {@inheritdoc}
*/
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{
}
/**
* {@inheritdoc}
*/
public function fetchColumn($columnIndex = 0)
{
}
/**
* {@inheritdoc}
*/
public function getIterator()
{
}
}