[FOLLOWUP][TASK] Doctrine: migrate $GLOBALS['TYPO3_DB']->exec_TRUNCATEquery
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Cache / Backend / Fixtures / ConcreteBackendFixture.php
1 <?php
2 namespace TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures;
3
4 /*
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 use TYPO3\CMS\Core\Cache\Backend\AbstractBackend;
18
19 /**
20 * Fixture implementing one set option method.
21 */
22 class ConcreteBackendFixture extends AbstractBackend
23 {
24 protected $someOption;
25
26 public function set($entryIdentifier, $data, array $tags = array(), $lifetime = null)
27 {
28 }
29
30 public function get($entryIdentifier)
31 {
32 }
33
34 public function has($entryIdentifier)
35 {
36 }
37
38 public function remove($entryIdentifier)
39 {
40 }
41
42 public function flush()
43 {
44 }
45
46 public function flushByTag($tag)
47 {
48 }
49
50 public function findIdentifiersByTag($tag)
51 {
52 }
53
54 public function collectGarbage()
55 {
56 }
57
58 public function setSomeOption($value)
59 {
60 $this->someOption = $value;
61 }
62
63 public function getSomeOption()
64 {
65 return $this->someOption;
66 }
67 }