‪TYPO3CMS  9.5
FrontendInterface.php
Go to the documentation of this file.
1 <?php
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 
21 {
25  const ‪TAG_CLASS = '%CLASS%';
29  const ‪TAG_PACKAGE = '%PACKAGE%';
33  const ‪PATTERN_ENTRYIDENTIFIER = '/^[a-zA-Z0-9_%\\-&]{1,250}$/';
37  const ‪PATTERN_TAG = '/^[a-zA-Z0-9_%\\-&]{1,250}$/';
43  public function ‪getIdentifier();
44 
50  public function ‪getBackend();
51 
60  public function set($entryIdentifier, $data, array $tags = [], $lifetime = null);
61 
68  public function get($entryIdentifier);
69 
76  public function ‪has($entryIdentifier);
77 
84  public function remove($entryIdentifier);
85 
89  public function ‪flush();
90 
96  public function ‪flushByTag($tag);
97 
103  public function ‪flushByTags(array $tags);
104 
108  public function ‪collectGarbage();
109 
116  public function ‪isValidEntryIdentifier($identifier);
117 
124  public function ‪isValidTag($tag);
125 }
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\isValidTag
‪bool isValidTag($tag)
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\getIdentifier
‪string getIdentifier()
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\flush
‪flush()
‪TYPO3\CMS\Core\Cache\Frontend
Definition: AbstractFrontend.php:2
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\isValidEntryIdentifier
‪bool isValidEntryIdentifier($identifier)
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\flushByTags
‪flushByTags(array $tags)
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\has
‪bool has($entryIdentifier)
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\TAG_CLASS
‪const TAG_CLASS
Definition: FrontendInterface.php:25
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\PATTERN_TAG
‪const PATTERN_TAG
Definition: FrontendInterface.php:37
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\getBackend
‪TYPO3 CMS Core Cache Backend BackendInterface getBackend()
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\PATTERN_ENTRYIDENTIFIER
‪const PATTERN_ENTRYIDENTIFIER
Definition: FrontendInterface.php:33
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\TAG_PACKAGE
‪const TAG_PACKAGE
Definition: FrontendInterface.php:29
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
Definition: FrontendInterface.php:21
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\flushByTag
‪flushByTag($tag)
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\collectGarbage
‪collectGarbage()