MapperInterface.php 791 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * PHP Exif Mapper Interface: Defines the interface for data mappers
  4. *
  5. * @link http://github.com/miljar/PHPExif for the canonical source repository
  6. * @copyright Copyright (c) 2015 Tom Van Herreweghe <tom@theanalogguy.be>
  7. * @license http://github.com/miljar/PHPExif/blob/master/LICENSE MIT License
  8. * @category PHPExif
  9. * @package Mapper
  10. * @codeCoverageIgnore
  11. */
  12. namespace PHPExif\Mapper;
  13. /**
  14. * PHP Exif Mapper
  15. *
  16. * Defines the interface for data mappers
  17. *
  18. * @category PHPExif
  19. * @package Mapper
  20. */
  21. interface MapperInterface
  22. {
  23. /**
  24. * Maps the array of raw source data to the correct
  25. * fields for the \PHPExif\Exif class
  26. *
  27. * @param array $data
  28. * @return array
  29. */
  30. public function mapRawData(array $data);
  31. }