SectionPoolInterface.php 522 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\CustomerData;
  7. /**
  8. * Section pool interface
  9. */
  10. interface SectionPoolInterface
  11. {
  12. /**
  13. * Get section data by section names. If $sectionNames is null then return all sections data
  14. *
  15. * @param array $sectionNames
  16. * @param bool $forceNewTimestamp
  17. * @return array
  18. */
  19. public function getSectionsData(array $sectionNames = null, $forceNewTimestamp = false);
  20. }