first commit
This commit is contained in:
42
system/vendor/swift/Swift/Events/ConnectEvent.php
vendored
Normal file
42
system/vendor/swift/Swift/Events/ConnectEvent.php
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Swift Mailer Connect Event
|
||||
* Please read the LICENSE file
|
||||
* @copyright Chris Corbyn <chris@w3style.co.uk>
|
||||
* @author Chris Corbyn <chris@w3style.co.uk>
|
||||
* @package Swift_Events
|
||||
* @license GNU Lesser General Public License
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Generated every time Swift connects with a MTA
|
||||
* @package Swift_Events
|
||||
* @author Chris Corbyn <chris@w3style.co.uk>
|
||||
*/
|
||||
class Swift_Events_ConnectEvent extends Swift_Events
|
||||
{
|
||||
/**
|
||||
* A reference to the connection object
|
||||
* @var Swift_Connection
|
||||
*/
|
||||
protected $connection = null;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param Swift_Connection The new connection
|
||||
*/
|
||||
public function __construct(Swift_Connection $connection)
|
||||
{
|
||||
$this->connection = $connection;
|
||||
}
|
||||
/**
|
||||
* Get the connection object
|
||||
* @return Swift_Connection
|
||||
*/
|
||||
public function getConnection()
|
||||
{
|
||||
return $this->connection;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user