TYPO3  7.6
ResponseEvent.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 $_valid;
24 
30  private $_response;
31 
39  public function __construct(Swift_Transport $source, $response, $valid = false)
40  {
41  parent::__construct($source);
42  $this->_response = $response;
43  $this->_valid = $valid;
44  }
45 
51  public function getResponse()
52  {
53  return $this->_response;
54  }
55 
61  public function isValid()
62  {
63  return $this->_valid;
64  }
65 }