12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <?php
- declare(strict_types=1);
- namespace OCP;
- interface ICacheFactory {
-
- public function isAvailable(): bool;
-
- public function isLocalCacheAvailable(): bool;
-
- public function createLocking(string $prefix = ''): IMemcache;
-
- public function createDistributed(string $prefix = ''): ICache;
-
- public function createLocal(string $prefix = ''): ICache;
-
- public function createInMemory(int $capacity = 512): ICache;
- }
|