Blame view

app/Core/Comment/CommentPosted.php 568 Bytes
e77200db5   nologostudio.ru   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  <?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;
      }
  }