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.
11
//@require 'Swift/StreamFilter.php';
14
* Allows StreamFilters to operate on a stream.
16
* @author Chris Corbyn
18
interface Swift_Filterable
22
* Add a new StreamFilter, referenced by $key.
23
* @param Swift_StreamFilter $filter
26
public function addFilter(Swift_StreamFilter $filter, $key);
29
* Remove an existing filter using $key.
32
public function removeFilter($key);