CommentPosted.php 568 Bytes
<?php

namespace FootyRoom\Core\Comment;

class CommentPosted
{
    /**
     * @var \FootyRoom\Core\Comment\Comment
     */
    public $comment;

    /**
     * @var \FootyRoom\Core\Comment\ICommentable
     */
    public $commentable;

    /**
     * Constructor.
     *
     * @param \FootyRoom\Core\Comment\Comment $comment
     * @param \FootyRoom\Core\Comment\ICommentable $commentable
     */
    public function __construct(Comment $comment, ICommentable $commentable)
    {
        $this->comment = $comment;
        $this->commentable = $commentable;
    }
}