Optimize.php 944 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace Config;
  3. /**
  4. * Optimization Configuration.
  5. *
  6. * NOTE: This class does not extend BaseConfig for performance reasons.
  7. * So you cannot replace the property values with Environment Variables.
  8. *
  9. * @immutable
  10. */
  11. class Optimize
  12. {
  13. /**
  14. * --------------------------------------------------------------------------
  15. * Config Caching
  16. * --------------------------------------------------------------------------
  17. *
  18. * @see https://codeigniter.com/user_guide/concepts/factories.html#config-caching
  19. */
  20. public bool $configCacheEnabled = false;
  21. /**
  22. * --------------------------------------------------------------------------
  23. * Config Caching
  24. * --------------------------------------------------------------------------
  25. *
  26. * @see https://codeigniter.com/user_guide/concepts/autoloader.html#file-locator-caching
  27. */
  28. public bool $locatorCacheEnabled = false;
  29. }