Reader.php 508 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Interface for config readers
  4. *
  5. * @package Kohana
  6. * @category Configuration
  7. * @author Kohana Team
  8. * @copyright (c) Kohana Team
  9. * @license https://koseven.ga/LICENSE.md
  10. */
  11. interface Kohana_Config_Reader extends Kohana_Config_Source
  12. {
  13. /**
  14. * Tries to load the specified configuration group
  15. *
  16. * Returns FALSE if group does not exist or an array if it does
  17. *
  18. * @param string $group Configuration group
  19. * @return boolean|array
  20. */
  21. public function load($group);
  22. }