Page MenuHomeWickedGov Phorge

PersistentCache.php
No OneTemporary

Size
774 B
Referenced Files
None
Subscribers
None

PersistentCache.php

<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\Cache;
/** Defines what method should be provided by a class implementing a persistent cache */
interface PersistentCache {
/** @return PersistentCacheEntry[] */
public function get( string ...$keynames ): array;
public function has( string $keyname ): bool;
public function hasEntryWithTag( string $tag ): bool;
public function setExpiry( string $keyname, int $expiryTime ): void;
/** @return PersistentCacheEntry[] */
public function getByTag( string $tag ): array;
public function set( PersistentCacheEntry ...$cacheEntry ): void;
public function delete( string ...$keyname ): void;
public function deleteEntriesWithTag( string $tag ): void;
public function clear(): void;
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 20:26 (3 d, 20 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
84/08/cc7a08ab57745a8b8712a827eaf9
Default Alt Text
PersistentCache.php (774 B)

Event Timeline