SilverStripe\Snapshots\SnapshotItem::getItem
Defaults to the tagged version for the snapshot item unless we're given a specific version This was added to deal with a case in @see ActivityEntry::createFromSnapshotItem()
Signature
public function getItem([int
$version = NULL] )
Parameters
$version
— int
Returns
- DataObject|null