Class Swift_KeyCache_DummyKeyCache
A basic KeyCache backed by an array.
- Swift_KeyCache_DummyKeyCache implements Swift_KeyCache
Package: Swift\KeyCache
Author: Xavier De Cock <xdecock@gmail.com>
Located at vendors/swiftmailer/lib/classes/Swift/KeyCache/DummyKeyCache.php
Author: Xavier De Cock <xdecock@gmail.com>
Located at vendors/swiftmailer/lib/classes/Swift/KeyCache/DummyKeyCache.php
Methods summary
public
|
#
setString( string $nsKey, string $itemKey, string $string, integer $mode )
Set a string into the cache under $itemKey for the namespace $nsKey. |
public
|
#
importFromByteStream( string $nsKey, string $itemKey,
Set a ByteStream into the cache under $itemKey for the namespace $nsKey. |
public
|
#
getInputByteStream( string $nsKey, string $itemKey,
Provides a ByteStream which when written to, writes data to $itemKey. NOTE: The stream will always write in append mode. |
public
string
|
|
public
|
#
exportToByteStream( string $nsKey, string $itemKey,
Get data back out of the cache as a ByteStream. |
public
boolean
|
#
hasKey( string $nsKey, string $itemKey )
Check if the given $itemKey exists in the namespace $nsKey. |
public
|
#
clearKey( string $nsKey, string $itemKey )
Clear data for $itemKey in the namespace $nsKey if it exists. |
public
|