AsyncTestData.php 871 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\TestModuleAsyncAmqp\Model;
  7. class AsyncTestData
  8. {
  9. /**
  10. * @var $msgValue
  11. */
  12. protected $msgValue;
  13. /**
  14. * @var $path
  15. */
  16. protected $path;
  17. /**
  18. * set path to tmp directory.
  19. *
  20. * @param string $path
  21. * @return void
  22. */
  23. public function setTextFilePath($path)
  24. {
  25. $this->path = $path;
  26. }
  27. /**
  28. * @return string
  29. */
  30. public function getTextFilePath()
  31. {
  32. return $this->path;
  33. }
  34. /**
  35. * @param string $strValue
  36. * @return void
  37. */
  38. public function setValue($strValue)
  39. {
  40. $this->msgValue = $strValue;
  41. }
  42. /**
  43. * @return string
  44. */
  45. public function getValue()
  46. {
  47. return $this->msgValue;
  48. }
  49. }