SubscriptionInterface.php 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Mview\View;
  7. /**
  8. * Interface \Magento\Framework\Mview\View\SubscriptionInterface
  9. *
  10. */
  11. interface SubscriptionInterface
  12. {
  13. /**
  14. * Create subsciption
  15. *
  16. * @return \Magento\Framework\Mview\View\SubscriptionInterface
  17. */
  18. public function create();
  19. /**
  20. * Remove subscription
  21. *
  22. * @return \Magento\Framework\Mview\View\SubscriptionInterface
  23. */
  24. public function remove();
  25. /**
  26. * Retrieve View related to subscription
  27. *
  28. * @return \Magento\Framework\Mview\ViewInterface
  29. */
  30. public function getView();
  31. /**
  32. * Retrieve table name
  33. *
  34. * @return string
  35. */
  36. public function getTableName();
  37. /**
  38. * Retrieve table column name
  39. *
  40. * @return string
  41. */
  42. public function getColumnName();
  43. }