Class null
Debug cache that does not store any entries (i.e. TTL is always 0). Throws an exception on read attempts to identify incorrect cache usage.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Cache
-
Core\Cache\Driver\null
Package: Core\Cache
Since: 3.0
Requires: PHP 5.3
Version: 1.1
Located at Cache/Driver/null.inc.php
Methods summary
public
boolean
|
|
public
string
|
|
public
|
#
getStream( string $class, string $key )
Returns a reading stream instance for the requested cache entry. |
public
integer
|
#
getTimestamp( string $class, string $key )
Returns a UNIX timestamp of the last cache entry modification. |
public
|
#
put( string $class, string $key, string $binaryData, integer $ttl =
Writes binary data to a specified cache entry. |
public
|
#
putStream( string $class, string $key, integer $ttl =
Returns a writing stream instance for the requested cache entry. |
public
|
#
remove( string $class, string $key )
Deletes a cache key entry. If the entry does not exist, no operation is performed. |
Methods inherited from Core\Cache
__construct(),
activate(),
active(),
autocreate(),
defaultInstance(),
getAge(),
getHash(),
getMeta(),
getVar(),
putVar(),
setVersionID(),
unify()
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
__toString(),
attachMethod(),
chain(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
Constants inherited from Core\Cache
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType