PHP Class Clockwork\DataSource\SwiftDataSource

Inheritance: extends DataSource
Show file Open project: itsgoingd/clockwork

Protected Properties

Property Type Description
$timeline Timeline data structure

Public Methods

Method Description
__construct ( Swift_Mailer $swift ) Create a new data source, takes Swift_Mailer instance as an argument
resolve ( Request $request ) Adds email data to the request

Method Details

__construct() public method

Create a new data source, takes Swift_Mailer instance as an argument
public __construct ( Swift_Mailer $swift )
$swift Swift_Mailer

resolve() public method

Adds email data to the request
public resolve ( Request $request )
$request Clockwork\Request\Request

Property Details

$timeline protected property

Timeline data structure
protected $timeline