Merge pull request #3995 from dokuwiki-translate/lang_update_664_1687019870
[dokuwiki.git] / inc / cache.php
blobb5793c263c4a8b959fc8ef7c1eb4166ff0ec42d5
1 <?php
2 // phpcs:ignoreFile
3 use dokuwiki\Cache\CacheParser;
4 use dokuwiki\Cache\CacheInstructions;
5 use dokuwiki\Cache\CacheRenderer;
6 use dokuwiki\Debug\DebugHelper;
8 /**
9 * @deprecated since 2019-02-02 use \dokuwiki\Cache\Cache instead!
11 class cache extends \dokuwiki\Cache\Cache
13 public function __construct($key, $ext)
15 DebugHelper::dbgDeprecatedFunction(dokuwiki\Cache\Cache::class);
16 parent::__construct($key, $ext);
20 /**
21 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheParser instead!
23 class cache_parser extends \dokuwiki\Cache\CacheParser
26 public function __construct($id, $file, $mode)
28 DebugHelper::dbgDeprecatedFunction(CacheParser::class);
29 parent::__construct($id, $file, $mode);
34 /**
35 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheRenderer instead!
37 class cache_renderer extends \dokuwiki\Cache\CacheRenderer
40 public function __construct($id, $file, $mode)
42 DebugHelper::dbgDeprecatedFunction(CacheRenderer::class);
43 parent::__construct($id, $file, $mode);
47 /**
48 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheInstructions instead!
50 class cache_instructions extends \dokuwiki\Cache\CacheInstructions
52 public function __construct($id, $file)
54 DebugHelper::dbgDeprecatedFunction(CacheInstructions::class);
55 parent::__construct($id, $file);