‪TYPO3CMS  11.5
FrontendFixture.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
26 {
27  protected string ‪$identifier;
28 
29  public function ‪__construct(‪$identifier)
30  {
31  $this->identifier = ‪$identifier;
32  }
33 
34  public function ‪getIdentifier(): string
35  {
36  return ‪$this->identifier;
37  }
38 
39  public function ‪getBackend() {}
40 
41  public function set($entryIdentifier, $data, array $tags = [], $lifetime = null): void {}
42 
43  public function get($entryIdentifier) {}
44 
45  public function ‪has($entryIdentifier) {}
46 
47  public function remove($entryIdentifier) {}
48 
49  public function ‪flush(): void {}
50 
51  public function ‪flushByTag($tag): void {}
52 
53  public function ‪flushByTags(array $tags): void {}
54 
55  public function ‪collectGarbage(): void {}
56 
58 
59  public function ‪isValidTag($tag) {}
60 }
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\isValidTag
‪isValidTag($tag)
Definition: FrontendFixture.php:59
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture
Definition: FrontendFixture.php:26
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\__construct
‪__construct($identifier)
Definition: FrontendFixture.php:29
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\has
‪has($entryIdentifier)
Definition: FrontendFixture.php:45
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\getBackend
‪getBackend()
Definition: FrontendFixture.php:39
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\$identifier
‪string $identifier
Definition: FrontendFixture.php:27
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\getIdentifier
‪getIdentifier()
Definition: FrontendFixture.php:34
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\flushByTag
‪flushByTag($tag)
Definition: FrontendFixture.php:51
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures
Definition: BackendConfigurationOptionFixture.php:18
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\flush
‪flush()
Definition: FrontendFixture.php:49
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\collectGarbage
‪collectGarbage()
Definition: FrontendFixture.php:55
‪TYPO3\CMS\Core\Cache\Frontend\FrontendInterface
Definition: FrontendInterface.php:22
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\isValidEntryIdentifier
‪isValidEntryIdentifier($identifier)
Definition: FrontendFixture.php:57
‪TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendFixture\flushByTags
‪flushByTags(array $tags)
Definition: FrontendFixture.php:53