InboxInterface.php 759 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\AdminNotification\Model;
  7. /**
  8. * AdminNotification Inbox interface
  9. *
  10. * @author Magento Core Team <core@magentocommerce.com>
  11. * @api
  12. * @since 100.0.2
  13. */
  14. interface InboxInterface
  15. {
  16. /**
  17. * Retrieve Severity collection array
  18. *
  19. * @param int|null $severity
  20. * @return array|string|null
  21. * @api
  22. */
  23. public function getSeverities($severity = null);
  24. /**
  25. * Retrieve Latest Notice
  26. *
  27. * @return $this
  28. * @api
  29. */
  30. public function loadLatestNotice();
  31. /**
  32. * Retrieve notice statuses
  33. *
  34. * @return array
  35. * @api
  36. */
  37. public function getNoticeStatus();
  38. }