You are here

public function FakeRecord::__construct in Drupal 9

Constructs a FakeRecord object with an optional constructor argument.

Parameters

int $fakeArg: A class variable.

File

core/modules/system/tests/src/Functional/Database/FakeRecord.php, line 27

Class

FakeRecord
Fetches into a class.

Namespace

Drupal\Tests\system\Functional\Database

Code

public function __construct($fakeArg = 0) {
  $this->fakeArg = $fakeArg;
}