DesignInterface.php 704 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\App;
  7. /**
  8. * Design Interface
  9. */
  10. interface DesignInterface
  11. {
  12. /**
  13. * Load custom design settings for specified store and date
  14. *
  15. * @param string $storeId
  16. * @param string|null $date
  17. * @return $this
  18. */
  19. public function loadChange($storeId, $date = null);
  20. /**
  21. * Apply design change from self data into specified design package instance
  22. *
  23. * @param \Magento\Framework\View\DesignInterface $packageInto
  24. * @return $this
  25. */
  26. public function changeDesign(\Magento\Framework\View\DesignInterface $packageInto);
  27. }