Version 1
[yaffs-website] / web / core / modules / system / src / Tests / Database / FakeRecord.php
diff --git a/web/core/modules/system/src/Tests/Database/FakeRecord.php b/web/core/modules/system/src/Tests/Database/FakeRecord.php
new file mode 100644 (file)
index 0000000..fce1366
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+namespace Drupal\system\Tests\Database;
+
+/**
+ * Fetches into a class.
+ *
+ * PDO supports using a new instance of an arbitrary class for records
+ * rather than just a stdClass or array. This class is for testing that
+ * functionality. (See testQueryFetchClass() below)
+ */
+class FakeRecord { }