original_string: public function getCoordinatesByString(string $address) : CoordinatesInterface
      {
          $url = $this->addressQuery($address);
          $json = $this->fetchUrl($url);
  
          // convert google data to coordinates
          $coordinates = CoordinatesBuild::create($json->results[0]);
  
          return $coordinates;
      }
code: public function getCoordinatesByString(string $address) : CoordinatesInterface
      {
          $url = $this->addressQuery($address);
          $json = $this->fetchUrl($url);
  
          // convert google data to coordinates
          $coordinates = CoordinatesBuild::create($json->results[0]);
  
          return $coordinates;
      }
code_tokens: public function getCoordinatesByString ( string $ address ) : CoordinatesInterface { $ url = $ this -> addressQuery ( $ address ) ; $ json = $ this -> fetchUrl ( $ url ) ; // convert google data to coordinates $ coordinates = CoordinatesBuild :: create ( $ json -> results [ 0 ] ) ; return $ coordinates ; }
docstring: Get coordinates using string
  
  @param string $address
  @return CoordinatesInterface
docstring_tokens: Get coordinates using string