This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.

24 lines
661 B
PHP
Raw Normal View History

2010-08-21 14:43:03 +10:00
<?php defined('SYSPATH') or die('No direct script access.');
/**
* Garbage Collection interface for caches that have no GC methods
* of their own, such as [Cache_File] and [Cache_Sqlite]. Memory based
* cache systems clean their own caches periodically.
*
2011-05-13 16:00:25 +10:00
* @package Kohana/Cache
* @category Base
2010-08-21 14:43:03 +10:00
* @version 2.0
* @author Kohana Team
2012-11-09 23:18:50 +11:00
* @copyright (c) 2009-2012 Kohana Team
2010-08-21 14:43:03 +10:00
* @license http://kohanaphp.com/license
* @since 3.0.8
*/
interface Kohana_Cache_GarbageCollect {
/**
* Garbage collection method that cleans any expired
* cache entries from the cache.
*
* @return void
*/
public function garbage_collect();
2011-05-13 16:00:25 +10:00
}