Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
Vulnerability
/
Interfaces
:
VulnerabilitySnapshotRepositoryInterface.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace ReallySimplePlugins\RSS\Core\Features\Vulnerability\Interfaces; use ReallySimplePlugins\RSS\Core\Features\Vulnerability\Dtos\VulnerabilitySnapshotDto; /** * Defines persistence operations for vulnerability snapshot state. * * Constraints: Read/write access only; no business logic. */ interface VulnerabilitySnapshotRepositoryInterface { /** * Returns the previously stored vulnerability snapshot, if any. */ public function getPrevious(): ?VulnerabilitySnapshotDto; /** * Persists the current vulnerability snapshot. */ public function saveCurrent(VulnerabilitySnapshotDto $vulnerabilitySnapshotDto): void; /** * Removes any stored snapshot data. */ public function clear(): void; }