Dumper.php 604 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4. * This file is part of the Geocoder package.
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. *
  8. * @license MIT License
  9. */
  10. namespace Geocoder\Dumper;
  11. use Geocoder\Location;
  12. /**
  13. * @author William Durand <william.durand1@gmail.com>
  14. */
  15. interface Dumper
  16. {
  17. /**
  18. * Dumps an `Location` object as a string representation of
  19. * the implemented format.
  20. *
  21. * @param Location $location
  22. *
  23. * @return mixed
  24. */
  25. public function dump(Location $location);
  26. }