FakeRecord.php

Same filename in this branch
  1. 8.9.x core/modules/system/src/Tests/Database/FakeRecord.php
Same filename in other branches
  1. 9 core/modules/system/tests/src/Functional/Database/FakeRecord.php
  2. 10 core/modules/system/tests/src/Functional/Database/FakeRecord.php
  3. 11.x core/modules/system/tests/src/Functional/Database/FakeRecord.php

Namespace

Drupal\Tests\system\Functional\Database

File

core/modules/system/tests/src/Functional/Database/FakeRecord.php

View source
<?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 {

}

Classes

Title Deprecated Summary
FakeRecord Fetches into a class.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.