Tag.php 569 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace OSS\Model;
  3. /**
  4. * Class Tag
  5. * @package OSS\Model
  6. */
  7. class Tag
  8. {
  9. /**
  10. * Tag constructor.
  11. *
  12. * @param string $key
  13. * @param string $value
  14. */
  15. public function __construct($key, $value)
  16. {
  17. $this->key = $key;
  18. $this->value = $value;
  19. }
  20. /**
  21. * @return string
  22. */
  23. public function getKey()
  24. {
  25. return $this->key;
  26. }
  27. /**
  28. * @return string
  29. */
  30. public function getValue()
  31. {
  32. return $this->value;
  33. }
  34. private $key = "";
  35. private $value = "";
  36. }