test\ActiveFixture $dataFile

$dataFile public property The file path or path alias of the data file that contains the fixture data to be returned by getData(). If this is not set, it will default to FixturePath/data/TableName.php, where FixturePath stands for the directory containing this fixture class, and TableName stands for the name of the table associated with this fixture. You can set this property to be false to prevent loading any data. public string|boolean $dataFile = null

Testing

Developing with tests When and how to test Further reading Testing is an important part of software development. Whether we are aware of it or not, we conduct testing continuously. For example, when we write a class in PHP, we may debug it step by step or simply use echo or die statements to verify the implementation works according to our initial plan. In the case of a web application, we're entering some test data in forms to ensure the page interacts with us as expected. The testing process

swiftmailer\Message toString()

toString() public method Returns string representation of this message. public string toString ( )return string The string representation of this message.

swiftmailer\Message setTo()

setTo() public method Sets the message recipient(s). public $this setTo ( $to )$to string|array Receiver email address. You may pass an array of addresses if multiple recipients should receive this message. You may also specify receiver name in addition to email address using format: [email => name]. return $this Self reference.

swiftmailer\Message setTextBody()

setTextBody() public method Sets message plain text content. public $this setTextBody ( $text )$text string Message plain text content. return $this Self reference.

swiftmailer\Message setSubject()

setSubject() public method Sets the message subject. public $this setSubject ( $subject )$subject string Message subject return $this Self reference.

swiftmailer\Message setSignature()

setSignature() public method (available since version 2.0.6) Sets message signature public $this setSignature ( $signature )$signature array|callable|\Swift_Signer Signature specification. See addSignature() for details on how it should be specified. return $this Self reference.

swiftmailer\Message setReturnPath()

setReturnPath() public method (available since version 2.0.6) Set the return-path (the bounce address) of this message. public $this setReturnPath ( $address )$address string The bounce email address. return $this Self reference.

swiftmailer\Message setReplyTo()

setReplyTo() public method Sets the reply-to address of this message. public $this setReplyTo ( $replyTo )$replyTo string|array The reply-to address. You may pass an array of addresses if this message should be replied to multiple people. You may also specify reply-to name in addition to email address using format: [email => name]. return $this Self reference.

swiftmailer\Message setReadReceiptTo()

setReadReceiptTo() public method (available since version 2.0.6) Sets the ask for a delivery receipt from the recipient to be sent to $addresses. public $this setReadReceiptTo ( $addresses )$addresses string|array Receipt receive email address(es). return $this Self reference.