mirror of
https://github.com/friendica/friendica
synced 2024-09-26 00:31:22 +02:00
Philipp Holzer
424c87195b
- Introduce enum "Duration" - Introduce enum "Type" - Move "Cache\Cache" to "BaseCache"
17 lines
280 B
PHP
17 lines
280 B
PHP
<?php
|
|
|
|
namespace Friendica\Core\Cache;
|
|
|
|
/**
|
|
* Enumeration for cache types
|
|
*/
|
|
abstract class Type
|
|
{
|
|
const APCU = 'apcu';
|
|
const REDIS = 'redis';
|
|
const ARRAY = 'array';
|
|
const MEMCACHE = 'memcache';
|
|
const DATABASE = 'database';
|
|
const MEMCACHED = 'memcached';
|
|
}
|