XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
CommandEvent.php
Go to the documentation of this file.
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/Events/EventObject.php';
12 //@require 'Swift/Transport.php';
13 
21 {
22 
27  private $_command;
28 
33  private $_successCodes = array();
34 
41  public function __construct(Swift_Transport $source,
42  $command, $successCodes = array())
43  {
44  parent::__construct($source);
45  $this->_command = $command;
46  $this->_successCodes = $successCodes;
47  }
48 
53  public function getCommand()
54  {
55  return $this->_command;
56  }
57 
62  public function getSuccessCodes()
63  {
64  return $this->_successCodes;
65  }
66 
67 }