TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
MockBackend Class Reference
Inheritance diagram for MockBackend:
NullBackend AbstractBackend PhpCapableBackendInterface TaggableBackendInterface BackendInterface BackendInterface BackendInterface

Public Member Functions

 setSomeOption ($value)
 
 getSomeOption ()
 
- Public Member Functions inherited from 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 AbstractBackend
 __construct ($context, array $options=[])
 
 setCache (\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache)
 
 setDefaultLifetime ($defaultLifetime)
 
 flushByTags (array $tags)
 
- Public Member Functions inherited from TaggableBackendInterface
 flushByTags (array $tags)
 

Protected Attributes

 $someOption
 
- Protected Attributes inherited from AbstractBackend
 $cache
 
 $cacheIdentifier
 
 $context
 
 $defaultLifetime = 3600
 

Additional Inherited Members

- Public Attributes inherited from AbstractBackend
const DATETIME_EXPIRYTIME_UNLIMITED = '9999-12-31T23:59:59+0000'
 
const UNLIMITED_LIFETIME = 0
 
- Protected Member Functions inherited from 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 ( )

Returns the option value

Returns
mixed

Definition at line 46 of file MockBackend.php.

References MockBackend\$someOption.

setSomeOption (   $value)

Sets some option

Parameters
mixed$value
Returns
void

Definition at line 36 of file MockBackend.php.

Member Data Documentation

$someOption
protected

Definition at line 28 of file MockBackend.php.

Referenced by MockBackend\getSomeOption().