Config.php 552 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\Css\PreProcessor;
  7. use Magento\Framework\App\Filesystem\DirectoryList;
  8. class Config
  9. {
  10. /**
  11. * Temporary directory prefix
  12. */
  13. const TMP_DIR = 'pub/static';
  14. /**
  15. * Returns relative path to materialization directory
  16. *
  17. * @return string
  18. */
  19. public function getMaterializationRelativePath()
  20. {
  21. return DirectoryList::TMP_MATERIALIZATION_DIR . '/' . self::TMP_DIR;
  22. }
  23. }