# sequra/4.0.0/src/Repositories/interface-deletable-repository.php

seQura, version 4.0.0. 27 lines.

- Page: https://pluginprobe.com/plugins/sequra/4.0.0/code/src/Repositories/interface-deletable-repository.php
- Raw: https://pluginprobe.com/plugins/sequra/4.0.0/raw/src/Repositories/interface-deletable-repository.php
- Modified: 2025-02-11T16:24:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sequra/4.0.0/code/src/Repositories/interface-deletable-repository.php#L10-L20`.

```php
<?php
/**
 * Define methods for delete data from the repository.
 *
 * @package    SeQura/WC
 * @subpackage SeQura/WC/Repositories
 */

namespace SeQura\WC\Repositories;

/**
 * Define methods for delete data from the repository.
 */
interface Interface_Deletable_Repository {

	/**
	 * Delete all the entities.
	 */
	public function delete_all(): bool;

	/**
	 * Remove entities that are older than a certain date or that are invalid.
	 * This performs a cleanup of the repository data.
	 */
	public function delete_old_and_invalid();
}

```
