Merge branch 'maint/7.0'
[ninja.git] / application / vendor / swiftmailer / classes / Swift / KeyCache / KeyCacheInputStream.php
bloba1f4440c15213c3118603fd34f12b209742edfd2
1 <?php
3 /*
4 * This file is part of SwiftMailer.
5 * (c) 2004-2009 Chris Corbyn
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
11 //@require 'Swift/KeyCache.php';
12 //@require 'Swift/InputByteStream.php';
14 /**
15 * Writes data to a KeyCache using a stream.
16 * @package Swift
17 * @subpackage KeyCache
18 * @author Chris Corbyn
20 interface Swift_KeyCache_KeyCacheInputStream extends Swift_InputByteStream
23 /**
24 * Set the KeyCache to wrap.
25 * @param Swift_KeyCache $keyCache
27 public function setKeyCache(Swift_KeyCache $keyCache);
29 /**
30 * Set the nsKey which will be written to.
31 * @param string $nsKey
33 public function setNsKey($nsKey);
35 /**
36 * Set the itemKey which will be written to.
37 * @param string $itemKey
39 public function setItemKey($itemKey);
41 /**
42 * Specify a stream to write through for each write().
43 * @param Swift_InputByteStream $is
45 public function setWriteThroughStream(Swift_InputByteStream $is);
47 /**
48 * Any implementation should be cloneable, allowing the clone to access a
49 * separate $nsKey and $itemKey.
51 public function __clone();