GeoArray.php 571 B

1234567891011121314151617181920212223242526272829
  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 Tomas Norkūnas <norkunas.tom@gmail.com>
  14. */
  15. final class GeoArray extends AbstractArrayDumper implements Dumper
  16. {
  17. /**
  18. * {@inheritdoc}
  19. */
  20. public function dump(Location $location): array
  21. {
  22. return $this->getArray($location);
  23. }
  24. }