1<?php
2// phpcs:ignoreFile
3use dokuwiki\Cache\Cache as NewCache;
4use dokuwiki\Cache\CacheParser;
5use dokuwiki\Cache\CacheInstructions;
6use dokuwiki\Cache\CacheRenderer;
7use dokuwiki\Debug\DebugHelper;
8
9/**
10 * @deprecated since 2019-02-02 use \dokuwiki\Cache\Cache instead!
11 */
12class 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 */
24class 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 */
38class 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 */
51class 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