Codestyle + check trustedproxies
[dokuwiki.git] / inc / cache.php
blob832e45e1acdb353568e36ccda95fe697d3321a3e
1 <?php
2 // phpcs:ignoreFile
3 use dokuwiki\Cache\Cache;
4 use dokuwiki\Cache\CacheParser;
5 use dokuwiki\Cache\CacheInstructions;
6 use dokuwiki\Cache\CacheRenderer;
7 use dokuwiki\Debug\DebugHelper;
9 /**
10 * @deprecated since 2019-02-02 use \dokuwiki\Cache\Cache instead!
12 class cache extends Cache
14 public function __construct($key, $ext)
16 DebugHelper::dbgDeprecatedFunction(Cache::class);
17 parent::__construct($key, $ext);
21 /**
22 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheParser instead!
24 class cache_parser extends CacheParser
27 public function __construct($id, $file, $mode)
29 DebugHelper::dbgDeprecatedFunction(CacheParser::class);
30 parent::__construct($id, $file, $mode);
35 /**
36 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheRenderer instead!
38 class cache_renderer extends CacheRenderer
41 public function __construct($id, $file, $mode)
43 DebugHelper::dbgDeprecatedFunction(CacheRenderer::class);
44 parent::__construct($id, $file, $mode);
48 /**
49 * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheInstructions instead!
51 class cache_instructions extends CacheInstructions
53 public function __construct($id, $file)
55 DebugHelper::dbgDeprecatedFunction(CacheInstructions::class);
56 parent::__construct($id, $file);