‪TYPO3CMS  ‪main
ConcreteBackendFixture.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 ‪$someOption;
28 
29  public function set($entryIdentifier, $data, array $tags = [], $lifetime = null): void {}
30 
31  public function get($entryIdentifier) {}
32 
33  public function ‪has($entryIdentifier)
34  {
35  return false;
36  }
37 
38  public function remove($entryIdentifier)
39  {
40  return false;
41  }
42 
43  public function ‪flush(): void {}
44 
45  public function ‪flushByTag($tag): void {}
46 
47  public function ‪findIdentifiersByTag($tag): void {}
48 
49  public function ‪collectGarbage(): void {}
50 
51  public function ‪setSomeOption($value): void
52  {
53  $this->someOption = $value;
54  }
55 
56  public function ‪getSomeOption(): string
57  {
58  return ‪$this->someOption;
59  }
60 }
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\findIdentifiersByTag
‪findIdentifiersByTag($tag)
Definition: ConcreteBackendFixture.php:47
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\has
‪has($entryIdentifier)
Definition: ConcreteBackendFixture.php:33
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures
Definition: ConcreteBackendFixture.php:18
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\setSomeOption
‪setSomeOption($value)
Definition: ConcreteBackendFixture.php:51
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\$someOption
‪string $someOption
Definition: ConcreteBackendFixture.php:27
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture
Definition: ConcreteBackendFixture.php:26
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\flush
‪flush()
Definition: ConcreteBackendFixture.php:43
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\flushByTag
‪flushByTag($tag)
Definition: ConcreteBackendFixture.php:45
‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
Definition: AbstractBackend.php:28
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\getSomeOption
‪getSomeOption()
Definition: ConcreteBackendFixture.php:56
‪TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture\collectGarbage
‪collectGarbage()
Definition: ConcreteBackendFixture.php:49