Blame view

app/Queries/Post/OneForumPostQuery.php 475 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
29
30
31
32
33
34
  <?php
  
  namespace FootyRoom\Queries\Post;
  
  /**
   * Query to return a specific post.
   */
  class OneForumPostQuery
  {
      /**
       * @var int
       */
      protected $postId;
  
      /**
       * Constructor.
       *
       * @param int $postId
       */
      public function __construct($postId)
      {
          $this->postId = $postId;
      }
  
      /**
       * Gets the value of postId.
       *
       * @return int
       */
      public function getPostId()
      {
          return $this->postId;
      }
  }