// 1.5 branche creation

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@5881 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2011-04-12 18:24:40 +00:00
commit 10445ad61d
5317 changed files with 432110 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
/**
* Swift Mailer Events Layer
* 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
*/
/**
* Provides core functionality for Swift generated events for plugins
* @package Swift_Events
* @author Chris Corbyn <chris@w3style.co.uk>
*/
abstract class Swift_Events
{
/**
* An instance of Swift
* @var Swift
*/
protected $swift = null;
/**
* Provide a reference to te currently running Swift this event was generated from
* @param Swift
*/
public function setSwift(Swift $swift)
{
$this->swift = $swift;
}
/**
* Get the current instance of swift
* @return Swift
*/
public function getSwift()
{
return $this->swift;
}
}