# user-access-manager/trunk/src/Cache/CacheProviderInterface.php

User Access Manager, version trunk. 23 lines.

- Page: https://pluginprobe.com/plugins/user-access-manager/trunk/code/src/Cache/CacheProviderInterface.php
- Raw: https://pluginprobe.com/plugins/user-access-manager/trunk/raw/src/Cache/CacheProviderInterface.php
- Modified: 2025-12-09T08:20:46+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/user-access-manager/trunk/code/src/Cache/CacheProviderInterface.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace UserAccessManager\Cache;

use UserAccessManager\Config\Config;

interface CacheProviderInterface
{
    public function getId(): string;

    public function init(): void;

    public function getConfig(): Config;

    public function add(string $key, mixed $value);

    public function get(string $key): mixed;

    public function invalidate(string $key);
}

```
