original_string: public function slReseplanerare2Trip($originId, $destId, array $options = []) {
          $params = [
              'key' => $this->slReseplanerare2key,
              'originId' => $originId,
              'destId' => $destId
          ];
          $params = array_merge($params, $options);
  
          $url = $this->SlReseplanerare2URL.'/trip.json';
  
          $request = $this->client->request('GET', $url, [
              'query' => $params
          ]);
  
          $json = json_decode($request->getBody(), true);
          return $json;
      }
code: public function slReseplanerare2Trip($originId, $destId, array $options = []) {
          $params = [
              'key' => $this->slReseplanerare2key,
              'originId' => $originId,
              'destId' => $destId
          ];
          $params = array_merge($params, $options);
  
          $url = $this->SlReseplanerare2URL.'/trip.json';
  
          $request = $this->client->request('GET', $url, [
              'query' => $params
          ]);
  
          $json = json_decode($request->getBody(), true);
          return $json;
      }
code_tokens: public function slReseplanerare2Trip ( $ originId , $ destId , array $ options = [ ] ) { $ params = [ 'key' => $ this -> slReseplanerare2key , 'originId' => $ originId , 'destId' => $ destId ] ; $ params = array_merge ( $ params , $ options ) ; $ url = $ this -> SlReseplanerare2URL . '/trip.json' ; $ request = $ this -> client -> request ( 'GET' , $ url , [ 'query' => $ params ] ) ; $ json = json_decode ( $ request -> getBody ( ) , true ) ; return $ json ; }
docstring: SL Reseplanerare 2 -> Trip
  
  See https://www.trafiklab.se/api/sl-reseplanerare-2
  
  @link https://www.trafiklab.se/api/sl-reseplanerare-2
  @param string $originId SiteID from
  @param string $destId SiteID to
  @param array $options Any extra options
  @return mixed
docstring_tokens: SL Reseplanerare 2 - > Trip