You are here

class FakeRecord in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Database/FakeRecord.php \Drupal\system\Tests\Database\FakeRecord

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)

Hierarchy

Expanded class hierarchy of FakeRecord

File

core/modules/system/src/Tests/Database/FakeRecord.php, line 17
Contains \Drupal\system\Tests\Database\FakeRecord.

Namespace

Drupal\system\Tests\Database
View source
class FakeRecord {

}

Members