Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/*
4
 * This file is part of SwiftMailer.
5
 * (c) 2009 Fabien Potencier
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
 * Ignores messages.
13
 * @package Swift
14
 * @subpackage Plugins
15
 * @author Fabien Potencier
16
 */
17
class Swift_Plugins_BlackholePlugin
18
  implements Swift_Events_SendListener
19
{
20
  /**
21
   * Invoked immediately before the Message is sent.
22
   * @param Swift_Events_SendEvent $evt
23
   */
24
  public function beforeSendPerformed(Swift_Events_SendEvent $evt)
25
  {
26
    $evt->cancelBubble();
27
  }
28
 
29
  /**
30
   * Invoked immediately after the Message is sent.
31
   *
32
   * @param Swift_Events_SendEvent $evt
33
   */
34
  public function sendPerformed(Swift_Events_SendEvent $evt)
35
  {
36
  }
37
}