class FakeRecord in Zircon Profile 8
Same name and namespace in other branches
- 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
- class \Drupal\system\Tests\Database\FakeRecord
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\DatabaseView source
class FakeRecord {
}