1: <?php
2:
3: /*
4: * This file is part of SwiftMailer.
5: * (c) 2004-2009 Chris Corbyn
6: *
7: * For the full copyright and license information, please view the LICENSE
8: * file that was distributed with this source code.
9: */
10:
11: /**
12: * Creates StreamFilters.
13: * @package Swift
14: * @author Chris Corbyn
15: */
16: interface Swift_ReplacementFilterFactory
17: {
18: /**
19: * Create a filter to replace $search with $replace.
20: * @param mixed $search
21: * @param mixed $replace
22: * @return Swift_StreamFilter
23: */
24: public function createFilter($search, $replace);
25: }
26: