PHP Class Neos\Cache\Backend\NullBackend

Inheritance: extends AbstractBackend, implements Neos\Cache\Backend\PhpCapableBackendInterface, implements Neos\Cache\Backend\TaggableBackendInterface
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Méthodes publiques

Méthode Description
collectGarbage ( ) : void Does nothing
findIdentifiersByTag ( string $tag ) : array Returns an empty array
flush ( ) : void Does nothing
flushByTag ( string $tag ) : void Does nothing
get ( string $entryIdentifier ) : boolean Returns False
has ( string $entryIdentifier ) : boolean Returns False
remove ( string $entryIdentifier ) : boolean Does nothing
requireOnce ( string $identifier ) : void Does nothing
set ( string $entryIdentifier, string $data, array $tags = [], integer $lifetime = null ) : void Acts as if it would save data

Method Details

collectGarbage() public méthode

Does nothing
public collectGarbage ( ) : void
Résultat void

findIdentifiersByTag() public méthode

Returns an empty array
public findIdentifiersByTag ( string $tag ) : array
$tag string ignored
Résultat array An empty array

flush() public méthode

Does nothing
public flush ( ) : void
Résultat void

flushByTag() public méthode

Does nothing
public flushByTag ( string $tag ) : void
$tag string ignored
Résultat void

get() public méthode

Returns False
public get ( string $entryIdentifier ) : boolean
$entryIdentifier string ignored
Résultat boolean FALSE

has() public méthode

Returns False
public has ( string $entryIdentifier ) : boolean
$entryIdentifier string ignored
Résultat boolean FALSE

remove() public méthode

Does nothing
public remove ( string $entryIdentifier ) : boolean
$entryIdentifier string ignored
Résultat boolean FALSE

requireOnce() public méthode

Does nothing
public requireOnce ( string $identifier ) : void
$identifier string An identifier which describes the cache entry to load
Résultat void

set() public méthode

Acts as if it would save data
public set ( string $entryIdentifier, string $data, array $tags = [], integer $lifetime = null ) : void
$entryIdentifier string ignored
$data string ignored
$tags array ignored
$lifetime integer ignored
Résultat void