mirror of
https://github.com/friendica/friendica
synced 2024-09-26 02:41:22 +02:00
Philipp Holzer
424c87195b
- Introduce enum "Duration" - Introduce enum "Type" - Move "Cache\Cache" to "BaseCache"
20 lines
362 B
PHP
20 lines
362 B
PHP
<?php
|
|
|
|
namespace Friendica\Core\Cache;
|
|
|
|
/**
|
|
* Enumeration for cache durations
|
|
*/
|
|
abstract class Duration
|
|
{
|
|
const MONTH = 2592000;
|
|
const HOUR = 3600;
|
|
const HALF_HOUR = 1800;
|
|
const QUARTER_HOUR = 900;
|
|
const MINUTE = 60;
|
|
const WEEK = 604800;
|
|
const INFINITE = 0;
|
|
const DAY = 86400;
|
|
const FIVE_MINUTES = 300;
|
|
}
|