XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
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 
11 //@require 'Swift/Events/EventObject.php';
12 
20 {
21 
26  private $_valid;
27 
32  private $_response;
33 
40  public function __construct(Swift_Transport $source, $response, $valid = false)
41  {
42  parent::__construct($source);
43  $this->_response = $response;
44  $this->_valid = $valid;
45  }
46 
51  public function getResponse()
52  {
53  return $this->_response;
54  }
55 
60  public function isValid()
61  {
62  return $this->_valid;
63  }
64 
65 }