aboutsummaryrefslogtreecommitdiff
path: root/h-source/External/swiftmailer/lib/classes/Swift/ReplacementFilterFactory.php
blob: db29e6dba0069f798a03f4499c397e1f86c4fbc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

/*
 * This file is part of SwiftMailer.
 * (c) 2004-2009 Chris Corbyn
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Creates StreamFilters.
 * @package Swift
 * @author Chris Corbyn
 */
interface Swift_ReplacementFilterFactory
{
  
  /**
   * Create a filter to replace $search with $replace.
   * @param mixed $search
   * @param mixed $replace
   * @return Swift_StreamFilter
   */
  public function createFilter($search, $replace);
  
}