TYPO3 CMS  TYPO3_7-6
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)
 
 getSomeOption ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Cache\Backend\NullBackend
 set ($entryIdentifier, $data, array $tags=[], $lifetime=null)
 
 setCompression ($compression)
 
 get ($entryIdentifier)
 
 has ($entryIdentifier)
 
 remove ($entryIdentifier)
 
 findIdentifiersByTag ($tag)
 
 flush ()
 
 flushByTag ($tag)
 
 collectGarbage ()
 
 requireOnce ($identifier)
 
- Public Member Functions inherited from TYPO3\CMS\Core\Cache\Backend\AbstractBackend
 __construct ($context, array $options=[])
 
 setCache (\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache)
 
 setDefaultLifetime ($defaultLifetime)
 

Protected Attributes

 $someOption
 
- Protected Attributes inherited from TYPO3\CMS\Core\Cache\Backend\AbstractBackend
 $cache
 
 $cacheIdentifier
 
 $context
 
 $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
 calculateExpiryTime ($lifetime=null)
 

Detailed Description

A caching backend which forgets everything immediately Used in FactoryTest

This file is a backport from FLOW3

Definition at line 23 of file MockBackend.php.

Member Function Documentation

◆ getSomeOption()

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

Returns the option value

Returns
mixed

Definition at line 46 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
Returns
void

Definition at line 36 of file MockBackend.php.

Member Data Documentation

◆ $someOption

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