TYPO3  7.6
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 
17 {
23  private $_command;
24 
30  private $_successCodes = array();
31 
39  public function __construct(Swift_Transport $source, $command, $successCodes = array())
40  {
41  parent::__construct($source);
42  $this->_command = $command;
43  $this->_successCodes = $successCodes;
44  }
45 
51  public function getCommand()
52  {
53  return $this->_command;
54  }
55 
61  public function getSuccessCodes()
62  {
63  return $this->_successCodes;
64  }
65 }