for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare( strict_types = 1 );
namespace WMDE\Fundraising\Frontend\Infrastructure\Mail;
/**
* @licence GNU GPL v2+
* @author Kai Nissen < [email protected] >
*/
class Message {
private $subject;
private $messageBody;
public function __construct( string $subject, string $messageBody ) {
$this->subject = $subject;
$this->messageBody = $messageBody;
}
public function getSubject(): string {
return $this->subject;
public function getMessageBody(): string {
return $this->messageBody;