~lzap/cupooy/trunk

« back to all changes in this revision

Viewing changes to lib/vendor/swift/classes/Swift/Filterable.php

  • Committer: Lukáš Zapletal
  • Date: 2009-11-16 15:18:26 UTC
  • Revision ID: lzap@shark-20091116151826-4287asrnx59j26g0
Mailing

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
//@require 'Swift/StreamFilter.php';
 
12
 
 
13
/**
 
14
 * Allows StreamFilters to operate on a stream.
 
15
 * @package Swift
 
16
 * @author Chris Corbyn
 
17
 */
 
18
interface Swift_Filterable
 
19
{
 
20
  
 
21
  /**
 
22
   * Add a new StreamFilter, referenced by $key.
 
23
   * @param Swift_StreamFilter $filter
 
24
   * @param string $key
 
25
   */
 
26
  public function addFilter(Swift_StreamFilter $filter, $key);
 
27
  
 
28
  /**
 
29
   * Remove an existing filter using $key.
 
30
   * @param string $key
 
31
   */
 
32
  public function removeFilter($key);
 
33
  
 
34
}