Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / system / src / Tests / Database / FakeRecord.php
1 <?php
2
3 namespace Drupal\system\Tests\Database;
4
5 @trigger_error(__NAMESPACE__ . '\FakeRecord is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\system\Functional\Database\FakeRecord', E_USER_DEPRECATED);
6
7 /**
8  * Fetches into a class.
9  *
10  * PDO supports using a new instance of an arbitrary class for records
11  * rather than just a stdClass or array. This class is for testing that
12  * functionality. (See testQueryFetchClass() below)
13  *
14  * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead
15  *   use \Drupal\Tests\system\Functional\Database\FakeRecord.
16  */
17 class FakeRecord { }