Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / system / tests / src / Functional / Database / FakeRecord.php
diff --git a/web/core/modules/system/tests/src/Functional/Database/FakeRecord.php b/web/core/modules/system/tests/src/Functional/Database/FakeRecord.php
new file mode 100644 (file)
index 0000000..aa3a5fe
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+namespace Drupal\Tests\system\Functional\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 {}