TestingMessage.php 438 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Message\Test\Unit;
  7. use Magento\Framework\Message\AbstractMessage;
  8. class TestingMessage extends AbstractMessage
  9. {
  10. const TYPE_TESTING = 'testing';
  11. /**
  12. * Getter message type
  13. *
  14. * @return string
  15. */
  16. public function getType()
  17. {
  18. return static::TYPE_TESTING;
  19. }
  20. }