ConfigInterface.php 816 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Asset\Bundle;
  7. use Magento\Framework\View\Asset\File\FallbackContext;
  8. /**
  9. * Interface ConfigInterface
  10. * @deprecated 101.0.0
  11. * @see \Magento\Deploy\Config\BundleConfig
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * @param FallbackContext $assetContext
  17. * @return bool
  18. */
  19. public function isSplit(FallbackContext $assetContext);
  20. /**
  21. * @param FallbackContext $assetContext
  22. * @return \Magento\Framework\Config\View
  23. */
  24. public function getConfig(FallbackContext $assetContext);
  25. /**
  26. * @param FallbackContext $assetContext
  27. * @return false|float|int|string
  28. */
  29. public function getPartSize(FallbackContext $assetContext);
  30. }