AdminOptionHash.php 700 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Config\Model\Config\Source\Website;
  7. use Magento\Store\Model\System\Store;
  8. /**
  9. * Admin OptionHash will include the default store (Admin) with the OptionHash.
  10. *
  11. * This class is needed until the layout file supports supplying arguments to an option model.
  12. * @api
  13. * @since 100.0.2
  14. */
  15. class AdminOptionHash extends OptionHash
  16. {
  17. /**
  18. * @param Store $systemStore
  19. * @param bool $withDefaultWebsite
  20. */
  21. public function __construct(Store $systemStore, $withDefaultWebsite = true)
  22. {
  23. parent::__construct($systemStore, $withDefaultWebsite);
  24. }
  25. }