Blame view

app/Core/Comment/ICommentable.php 446 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
  <?php
  
  namespace FootyRoom\Core\Comment;
  
  interface ICommentable
  {
      /**
       * Post new comment in the discussion.
       */
      public function comment(Comment $comment);
  
      /**
       * Returns id of the commentable;.
       *
       * @return string
       */
      public function getId();
  
      /**
       * Gets the type of the object to which this discussion belongs.
       *
       * @return string
       */
      public function getCommentableType();
  }