Checkpoint.php

Same filename in other branches
  1. 10 core/lib/Drupal/Core/Config/Checkpoint/Checkpoint.php

Namespace

Drupal\Core\Config\Checkpoint

File

core/lib/Drupal/Core/Config/Checkpoint/Checkpoint.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Config\Checkpoint;


/**
 * A value object to store information about a checkpoint.
 *
 * @internal
 *   This API is experimental.
 */
final class Checkpoint {
    
    /**
     * Constructs a checkpoint object.
     *
     * @param string $id
     *   The checkpoint's ID.
     * @param \Stringable|string $label
     *   The human-readable label.
     * @param int $timestamp
     *   The timestamp when the checkpoint was created.
     * @param string|null $parent
     *   The ID of the checkpoint's parent.
     */
    public function __construct(string $id, \Stringable|string $label, int $timestamp, ?string $parent) {
    }

}

Classes

Title Deprecated Summary
Checkpoint A value object to store information about a checkpoint.

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