CommentParserInterface.php 504 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\App\Config;
  7. use Magento\Framework\Exception\FileSystemException;
  8. /**
  9. * Interface for parsing comments in the configuration file.
  10. */
  11. interface CommentParserInterface
  12. {
  13. /**
  14. * Retrieve config list from file comments.
  15. *
  16. * @param string $fileName
  17. * @return array
  18. * @throws FileSystemException
  19. */
  20. public function execute($fileName);
  21. }