‪TYPO3CMS  10.4
NullBackend.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
22 {
31  public function set($entryIdentifier, $data, array $tags = [], $lifetime = null)
32  {
33  }
34 
40  public function ‪setCompression($compression)
41  {
42  }
43 
50  public function get($entryIdentifier)
51  {
52  return false;
53  }
54 
61  public function ‪has($entryIdentifier)
62  {
63  return false;
64  }
65 
72  public function remove($entryIdentifier)
73  {
74  return false;
75  }
76 
83  public function ‪findIdentifiersByTag($tag)
84  {
85  return [];
86  }
87 
91  public function ‪flush()
92  {
93  }
94 
100  public function ‪flushByTag($tag)
101  {
102  }
103 
107  public function ‪collectGarbage()
108  {
109  }
110 
117  public function ‪requireOnce($identifier)
118  {
119  return false;
120  }
121 
128  public function require(string $identifier)
129  {
130  return false;
131  }
132 }
‪TYPO3\CMS\Core\Cache\Backend\NullBackend\flush
‪flush()
Definition: NullBackend.php:91
‪TYPO3\CMS\Core\Cache\Backend\NullBackend\requireOnce
‪bool requireOnce($identifier)
Definition: NullBackend.php:117
‪TYPO3\CMS\Core\Cache\Backend\NullBackend\findIdentifiersByTag
‪array findIdentifiersByTag($tag)
Definition: NullBackend.php:83
‪TYPO3\CMS\Core\Cache\Backend\TaggableBackendInterface
Definition: TaggableBackendInterface.php:22
‪TYPO3\CMS\Core\Cache\Backend\PhpCapableBackendInterface
Definition: PhpCapableBackendInterface.php:23
‪TYPO3\CMS\Core\Cache\Backend\NullBackend\has
‪bool has($entryIdentifier)
Definition: NullBackend.php:61
‪TYPO3\CMS\Core\Cache\Backend\NullBackend
Definition: NullBackend.php:22
‪TYPO3\CMS\Core\Cache\Backend\NullBackend\flushByTag
‪flushByTag($tag)
Definition: NullBackend.php:100
‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
Definition: AbstractBackend.php:28
‪TYPO3\CMS\Core\Cache\Backend\NullBackend\setCompression
‪setCompression($compression)
Definition: NullBackend.php:40
‪TYPO3\CMS\Core\Cache\Backend
Definition: AbstractBackend.php:16
‪TYPO3\CMS\Core\Cache\Backend\NullBackend\collectGarbage
‪collectGarbage()
Definition: NullBackend.php:107