Blame view

app/Queries/Category/OneCategoryQuery.php 539 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\Category;
  
  /**
   * Query to return a specific Category.
   */
  class OneCategoryQuery
  {
      /**
       * @var string
       */
      protected $categorySlug;
  
      /**
       * Constructor.
       *
       * @param string $categorySlug
       */
      public function __construct($categorySlug)
      {
          $this->categorySlug = $categorySlug;
      }
  
      /**
       * Gets the value of categorySlug.
       *
       * @return string
       */
      public function getCategorySlug()
      {
          return $this->categorySlug;
      }
  }