DuplicateCommentQuery.php 1.04 KB
<?php

namespace FootyRoom\Queries\Comment;

class DuplicateCommentQuery
{
    /**
     * @var string
     */
    protected $content;

    /**
     * @var string
     */
    protected $discussionId;

    /**
     * @var int
     */
    protected $userId;

    /**
     * Constructor.
     *
     * @param string $discussionId
     * @param string $content
     * @param int $userId
     */
    public function __construct($discussionId, $content, $userId)
    {
        $this->discussionId = $discussionId;
        $this->content = $content;
        $this->userId = $userId;
    }

    /**
     * Gets the value of content.
     *
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * Gets the value of discussionId.
     *
     * @return string
     */
    public function getDiscussionId()
    {
        return $this->discussionId;
    }

    /**
     * Gets the value of userId.
     *
     * @return int
     */
    public function getUserId()
    {
        return $this->userId;
    }
}