‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Unit\Cache\Backend\MockBackend Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Cache\Backend\MockBackend:
TYPO3\CMS\Core\Cache\Backend\NullBackend TYPO3\CMS\Core\Cache\Backend\AbstractBackend TYPO3\CMS\Core\Cache\Backend\PhpCapableBackendInterface TYPO3\CMS\Core\Cache\Backend\TaggableBackendInterface TYPO3\CMS\Core\Cache\Backend\BackendInterface TYPO3\CMS\Core\Cache\Backend\BackendInterface TYPO3\CMS\Core\Cache\Backend\BackendInterface

Public Member Functions

 setSomeOption ($value)
 
mixed getSomeOption ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\NullBackend
 set ($entryIdentifier, $data, array $tags=[], $lifetime=null)
 
 setCompression ($compression)
 
bool get ($entryIdentifier)
 
bool has ($entryIdentifier)
 
bool remove ($entryIdentifier)
 
array findIdentifiersByTag ($tag)
 
 flush ()
 
 flushByTag ($tag)
 
 collectGarbage ()
 
bool requireOnce ($identifier)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
 __construct ($context, array $options=[])
 
 setCache (FrontendInterface $cache)
 
 setDefaultLifetime ($defaultLifetime)
 
 flushByTags (array $tags)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\TaggableBackendInterface
 flushByTags (array $tags)
 

Protected Attributes

mixed $someOption
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
FrontendInterface $cache
 
string $cacheIdentifier
 
string $context
 
int $defaultLifetime = 3600
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
const DATETIME_EXPIRYTIME_UNLIMITED = '9999-12-31T23:59:59+0000'
 
const UNLIMITED_LIFETIME = 0
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
DateTime calculateExpiryTime ($lifetime=null)
 

Detailed Description

A caching backend which forgets everything immediately Used in FactoryTest

Definition at line 26 of file MockBackend.php.

Member Function Documentation

◆ getSomeOption()

mixed TYPO3\CMS\Core\Tests\Unit\Cache\Backend\MockBackend::getSomeOption ( )

Returns the option value

Returns
‪mixed

Definition at line 47 of file MockBackend.php.

References TYPO3\CMS\Core\Tests\Unit\Cache\Backend\MockBackend\$someOption.

◆ setSomeOption()

TYPO3\CMS\Core\Tests\Unit\Cache\Backend\MockBackend::setSomeOption (   $value)

Sets some option

Parameters
mixed$value

Definition at line 37 of file MockBackend.php.

Member Data Documentation

◆ $someOption

mixed TYPO3\CMS\Core\Tests\Unit\Cache\Backend\MockBackend::$someOption
protected