Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Mocks / StatementMock.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Mocks/StatementMock.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Mocks/StatementMock.php
new file mode 100644 (file)
index 0000000..9b6959f
--- /dev/null
@@ -0,0 +1,25 @@
+<?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){}
+    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(){}
+}