You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuParameterConstraintDbo.php 1013B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 5/29/16
  6. * Time: 8:52 PM
  7. */
  8. namespace Luticate\Utils\Dbo;
  9. use Luticate\Utils\LuDbo;
  10. class LuParameterConstraintDbo extends LuDbo
  11. {
  12. /**
  13. * @var $_method string
  14. */
  15. private $_method;
  16. /**
  17. * @var $_arguments string[]
  18. */
  19. private $_arguments = [];
  20. function jsonSerialize()
  21. {
  22. return [
  23. "Method" => $this->_method,
  24. "Arguments" => $this->_arguments
  25. ];
  26. }
  27. /**
  28. * @return string
  29. */
  30. public function getMethod()
  31. {
  32. return $this->_method;
  33. }
  34. /**
  35. * @param string $method
  36. */
  37. public function setMethod($method)
  38. {
  39. $this->_method = $method;
  40. }
  41. /**
  42. * @return \string[]
  43. */
  44. public function getArguments()
  45. {
  46. return $this->_arguments;
  47. }
  48. /**
  49. * @param \string[] $arguments
  50. */
  51. public function setArguments($arguments)
  52. {
  53. $this->_arguments = $arguments;
  54. }
  55. }