Checkpoint
in package
Handle returned by CanCheckpoint::checkpointCurrentState().
Table of Contents
- $state : array<string|int, mixed>
- $target : Checkpointable
- $uninitialized : array<string|int, mixed>
- __construct() : mixed
- restore() : void
Properties
$state
private
array<string|int, mixed>
$state
= []
Captured values for properties that were initialized at snapshot time.
$target
private
Checkpointable
$target
$uninitialized
private
array<string|int, mixed>
$uninitialized
= []
Names of properties that were uninitialized at snapshot time.
Methods
__construct()
public
__construct(Checkpointable $target, array<string|int, mixed> $properties) : mixed
Parameters
- $target : Checkpointable
- $properties : array<string|int, mixed>
Return values
mixed —restore()
public
restore() : void