function Checkpoint::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Config/Checkpoint/Checkpoint.php \Drupal\Core\Config\Checkpoint\Checkpoint::__construct()

Constructs a checkpoint object.

Parameters

string $id: The checkpoint's ID.

\Stringable|string $label: The human-readable label.

int $timestamp: The timestamp when the checkpoint was created.

string|null $parent: The ID of the checkpoint's parent.

File

core/lib/Drupal/Core/Config/Checkpoint/Checkpoint.php, line 27

Class

Checkpoint
A value object to store information about a checkpoint.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function __construct(string $id, \Stringable|string $label, int $timestamp, ?string $parent) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.