ReaderInterface.php 799 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * PHP Exif Reader Interface: Defines the interface for
  4. * the Reader functionality
  5. *
  6. * @link http://github.com/miljar/PHPExif for the canonical source repository
  7. * @copyright Copyright (c) 2015 Tom Van Herreweghe <tom@theanalogguy.be>
  8. * @license http://github.com/miljar/PHPExif/blob/master/LICENSE MIT License
  9. * @category PHPExif
  10. * @package Reader
  11. * @codeCoverageIgnore
  12. */
  13. namespace PHPExif\Reader;
  14. /**
  15. * PHP Exif Reader
  16. *
  17. * Defines the interface for reader functionality
  18. *
  19. * @category PHPExif
  20. * @package Reader
  21. */
  22. interface ReaderInterface
  23. {
  24. /**
  25. * Reads & parses the EXIF data from given file
  26. *
  27. * @param string $file
  28. * @return \PHPExif\Exif Instance of Exif object with data
  29. */
  30. public function read($file);
  31. }