PluginProbe
seQura / trunk
seQura vtrunk
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
sequra / src / Repositories / interface-deletable-repository.php

interface-deletable-repository.php in seQura trunk, at src/Repositories/interface-deletable-repository.php

27 lines 538 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Define methods for delete data from the repository.
4 *
5 * @package SeQura/WC
6 * @subpackage SeQura/WC/Repositories
7 */
8
9 namespace SeQura\WC\Repositories;
10
11 /**
12 * Define methods for delete data from the repository.
13 */
14 interface Interface_Deletable_Repository {
15
16 /**
17 * Delete all the entities.
18 */
19 public function delete_all(): bool;
20
21 /**
22 * Remove entities that are older than a certain date or that are invalid.
23 * This performs a cleanup of the repository data.
24 */
25 public function delete_old_and_invalid();
26 }
27