‪TYPO3CMS  ‪main
FrontendInterface.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 {
26  public const ‪TAG_CLASS = '%CLASS%';
30  public const ‪TAG_PACKAGE = '%PACKAGE%';
34  public const ‪PATTERN_ENTRYIDENTIFIER = '/^[a-zA-Z0-9_%\\-&]{1,250}$/';
38  public const ‪PATTERN_TAG = '/^[a-zA-Z0-9_%\\-&]{1,250}$/';
44  public function ‪getIdentifier();
45 
51  public function ‪getBackend();
52 
61  public function set($entryIdentifier, $data, array $tags = [], $lifetime = null);
62 
69  public function get($entryIdentifier);
70 
77  public function ‪has($entryIdentifier);
78 
85  public function remove($entryIdentifier);
86 
90  public function ‪flush();
91 
97  public function ‪flushByTag($tag);
98 
104  public function ‪flushByTags(array $tags);
105 
109  public function ‪collectGarbage();
110 
118 
125  public function ‪isValidTag($tag);
126 }
‪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:16
‪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:26
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\PATTERN_TAG
‪const PATTERN_TAG
Definition: FrontendInterface.php:38
‪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:34
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\TAG_PACKAGE
‪const TAG_PACKAGE
Definition: FrontendInterface.php:30
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
Definition: FrontendInterface.php:22
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\flushByTag
‪flushByTag($tag)
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\collectGarbage
‪collectGarbage()
‪TYPO3\CMS\Webhooks\Message\$identifier
‪identifier readonly string $identifier
Definition: FileAddedMessage.php:37