class 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

drupal/core/modules/system/lib/Drupal/system/Tests/Database/FakeRecord.php, line 17
Definition of Drupal\system\Tests\Database\FakeRecord.

Namespace

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

}

Members