1 <?php
2 // phpcs:ignoreFile
3 use dokuwiki\Cache\Cache as NewCache;
4 use dokuwiki\Cache\CacheParser;
5 use dokuwiki\Cache\CacheInstructions;
6 use dokuwiki\Cache\CacheRenderer;
7 use dokuwiki\Debug\DebugHelper;
8 
9 /**
10  * @deprecated since 2019-02-02 use \dokuwiki\Cache\Cache instead!
11  */
12 class cache extends NewCache
13 {
14     public function __construct($key, $ext)
15     {
16         DebugHelper::dbgDeprecatedFunction(NewCache::class);
17         parent::__construct($key, $ext);
18     }
19 }
20 
21 /**
22  * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheParser instead!
23  */
24 class cache_parser extends CacheParser
25 {
26 
27     public function __construct($id, $file, $mode)
28     {
29         DebugHelper::dbgDeprecatedFunction(CacheParser::class);
30         parent::__construct($id, $file, $mode);
31     }
32 
33 }
34 
35 /**
36  * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheRenderer instead!
37  */
38 class cache_renderer extends CacheRenderer
39 {
40 
41     public function __construct($id, $file, $mode)
42     {
43         DebugHelper::dbgDeprecatedFunction(CacheRenderer::class);
44         parent::__construct($id, $file, $mode);
45     }
46 }
47 
48 /**
49  * @deprecated since 2019-02-02 use \dokuwiki\Cache\CacheInstructions instead!
50  */
51 class cache_instructions extends CacheInstructions
52 {
53     public function __construct($id, $file)
54     {
55         DebugHelper::dbgDeprecatedFunction(CacheInstructions::class);
56         parent::__construct($id, $file);
57     }
58 }
59