iranianpep/code-jetter

View on GitHub
components/contact/models/ContactMessage.php

Summary

Maintainability
A
1 hr
Test Coverage
<?php

namespace CodeJetter\components\contact\models;

use CodeJetter\core\BaseModel;

class ContactMessage extends BaseModel
{
    private $name;
    private $email;
    private $message;

    /**
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * @return string
     */
    public function getMessage()
    {
        return $this->message;
    }

    /**
     * @param string $message
     */
    public function setMessage($message)
    {
        $this->message = $message;
    }

    /**
     * @return string
     */
    public function getEmail()
    {
        return $this->email;
    }

    /**
     * @param string $email
     */
    public function setEmail($email)
    {
        $this->email = $email;
    }
}