<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use App\Packages\User\Models\User;
use App\Services\GoogleMaps\GoogleGeoService;
use Route;

/**
 * Class PhoneCommand
 * @package App\Console\Commands
 */
class GoogleCommand extends Command
{
	protected $signature = 'command:google';

	public function handle()
	{
        $routeCollection = Route::getRoutes();

        /** @var \Illuminate\Routing\Route $value */
        foreach ($routeCollection as $value) {
            $this->info(
                $value->uri()
            );
        }

//        /** @var GoogleGeoService $geoService */
//        $geoService = app(GoogleGeoService::class);
//
//		/** @var User $user */
//        $user = User::query()->first();
//
//        $place = $geoService->getPlaceDetails(
//            $user,
//            'ChIJjUgRaq7P7kYRTO_IrF0Z3Rs'
//        );
//
//        dd($place);
	}
}













