選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

LuRouteDbo.php 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 10/22/15
  6. * Time: 7:52 PM
  7. */
  8. namespace Luticate\Utils;
  9. class LuRouteDbo
  10. {
  11. /**
  12. * @var string
  13. */
  14. private $_url;
  15. /**
  16. * @var string
  17. */
  18. private $_businessClass;
  19. /**
  20. * @var string
  21. */
  22. private $_businessMethod;
  23. /**
  24. * @var string[]
  25. */
  26. private $_permissions;
  27. /**
  28. * @var string[]
  29. */
  30. private $_middlware;
  31. /**
  32. * @var string
  33. */
  34. private $_method;
  35. /**
  36. * @return string
  37. */
  38. public function getMethod()
  39. {
  40. return $this->_method;
  41. }
  42. /**
  43. * @param string $method
  44. */
  45. public function setMethod($method)
  46. {
  47. $this->_method = $method;
  48. }
  49. /**
  50. * @return string
  51. */
  52. public function getUrl()
  53. {
  54. return $this->_url;
  55. }
  56. /**
  57. * @param string $url
  58. */
  59. public function setUrl($url)
  60. {
  61. $this->_url = $url;
  62. }
  63. /**
  64. * @return string
  65. */
  66. public function getBusinessClass()
  67. {
  68. return $this->_businessClass;
  69. }
  70. /**
  71. * @param string $businessClass
  72. */
  73. public function setBusinessClass($businessClass)
  74. {
  75. $this->_businessClass = $businessClass;
  76. }
  77. /**
  78. * @return string
  79. */
  80. public function getBusinessMethod()
  81. {
  82. return $this->_businessMethod;
  83. }
  84. /**
  85. * @param string $businessMethod
  86. */
  87. public function setBusinessMethod($businessMethod)
  88. {
  89. $this->_businessMethod = $businessMethod;
  90. }
  91. /**
  92. * @return \string[]
  93. */
  94. public function getPermissions()
  95. {
  96. return $this->_permissions;
  97. }
  98. /**
  99. * @param \string[] $permissions
  100. */
  101. public function setPermissions($permissions)
  102. {
  103. $this->_permissions = $permissions;
  104. }
  105. /**
  106. * @return \string[]
  107. */
  108. public function getMiddlware()
  109. {
  110. return $this->_middlware;
  111. }
  112. /**
  113. * @param \string[] $middlware
  114. */
  115. public function setMiddlware($middlware)
  116. {
  117. $this->_middlware = $middlware;
  118. }
  119. }