Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / classes / Swift / ReplacementFilterFactory.php
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 /**
20 * Create a filter to replace $search with $replace.
21 * @param mixed $search
22 * @param mixed $replace
23 * @return Swift_StreamFilter
24 */
25 public function createFilter($search, $replace);
26
27 }