ProcessorInterface.php 599 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Mview;
  7. /**
  8. * Interface \Magento\Framework\Mview\ProcessorInterface
  9. *
  10. */
  11. interface ProcessorInterface
  12. {
  13. /**
  14. * Materialize all views by group (all views if empty)
  15. *
  16. * @param string $group
  17. * @return void
  18. */
  19. public function update($group = '');
  20. /**
  21. * Clear all views' changelogs by group (all views if empty)
  22. *
  23. * @param string $group
  24. * @return void
  25. */
  26. public function clearChangelog($group = '');
  27. }