src/Form/Contact/Message.php
<?php
/*
* This file is part of the VantomasWebsite package.
*
* (c) Thomas Juhnke <dev@van-tomas.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DreadLabs\VantomasWebsite\Form\Contact;
/**
* Contact form message value object
*
* @author Thomas Juhnke <dev@van-tomas.de>
*/
class Message
{
/**
* @var string
*/
protected $subject;
/**
* @var string
*/
protected $message;
/**
* Returns the subject
*
* @return string
*/
public function getSubject()
{
return $this->subject;
}
/**
* Sets the subject
*
* @param string $subject
*
* @return void
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* Returns the message
*
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* Sets the message
*
* @param string $message
*
* @return void
*/
public function setMessage($message)
{
$this->message = $message;
}
}