SnapshotEntry
in package
FinalYes
Tags
Attributes
- #[Entity]
- #[Table]
- $name: 'nexus_snapshot_store'
Table of Contents
Properties
- $persistenceId : string
- $sequenceNr : int
- $stateData : string
- $stateType : string
- $timestamp : DateTimeImmutable
- $writerId : string
Methods
- __construct() : mixed
Properties
$persistenceId
public private(set)
string
$persistenceId
Attributes
- #[Column]
- $name: 'persistence_id'
- $type: 'string'
- $length: 255
- #[Id]
$sequenceNr
public private(set)
int
$sequenceNr
Attributes
- #[Column]
- $name: 'sequence_nr'
- $type: 'bigint'
- #[Id]
$stateData
public private(set)
string
$stateData
Attributes
- #[Column]
- $name: 'state_data'
- $type: 'text'
$stateType
public private(set)
string
$stateType
Attributes
- #[Column]
- $name: 'state_type'
- $type: 'string'
- $length: 255
$timestamp
public private(set)
DateTimeImmutable
$timestamp
Attributes
- #[Column]
- $name: 'timestamp'
- $type: 'datetime_immutable'
$writerId
public private(set)
string
$writerId
= ''
Attributes
- #[Column]
- $name: 'writer_id'
- $type: 'string'
- $length: 26
Methods
__construct()
public
__construct(string $persistenceId, int $sequenceNr, string $stateType, string $stateData, DateTimeImmutable $timestamp[, string $writerId = '' ]) : mixed
Parameters
- $persistenceId : string
- $sequenceNr : int
- $stateType : string
- $stateData : string
- $timestamp : DateTimeImmutable
- $writerId : string = ''