Skip to content

SnapshotInterface


  • Full name: \PhalconKit\Mvc\Model\Interfaces\SnapshotInterface

Methods

initializeSnapshot

public initializeSnapshot(?array $options = null): void

Parameters:

Parameter Type Description
$options ?array

setSnapshotBehavior

public setSnapshotBehavior(\PhalconKit\Mvc\Model\Behavior\Snapshot $snapshotBehavior): void

Parameters:

Parameter Type Description
$snapshotBehavior \PhalconKit\Mvc\Model\Behavior\Snapshot

getSnapshotBehavior

public getSnapshotBehavior(): \PhalconKit\Mvc\Model\Behavior\Snapshot

hasChangedCallback

public hasChangedCallback(callable $callback, bool $anyField = true): \Closure

Parameters:

Parameter Type Description
$callback callable
$anyField bool