IReader.Class.php 507 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: phperstar
  5. * Date: 2020/8/10
  6. * Time: 4:28 PM
  7. */
  8. namespace Util\PHPExcel\Reader;
  9. interface IReader
  10. {
  11. /**
  12. * Can the current PHPExcel_Reader_IReader read the file?
  13. *
  14. * @param string $pFilename
  15. * @return boolean
  16. */
  17. public function canRead($pFilename);
  18. /**
  19. * Loads PHPExcel from file
  20. *
  21. * @param string $pFilename
  22. * @return PHPExcel
  23. */
  24. public function load($pFilename);
  25. }