|
TYPO3 API
SVNRelease
|
00001 <?php 00002 00003 /* 00004 * This file is part of SwiftMailer. 00005 * (c) 2004-2009 Chris Corbyn 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00011 //@require 'Swift/StreamFilter.php'; 00012 00013 /** 00014 * Allows StreamFilters to operate on a stream. 00015 * @package Swift 00016 * @author Chris Corbyn 00017 */ 00018 interface Swift_Filterable 00019 { 00020 00021 /** 00022 * Add a new StreamFilter, referenced by $key. 00023 * @param Swift_StreamFilter $filter 00024 * @param string $key 00025 */ 00026 public function addFilter(Swift_StreamFilter $filter, $key); 00027 00028 /** 00029 * Remove an existing filter using $key. 00030 * @param string $key 00031 */ 00032 public function removeFilter($key); 00033 00034 }
1.8.0