original_string: public function slReseplanerare2JourneyDetail($ref) {
          $url = $this->SlReseplanerare2URL.'/journeydetail.json';
  
          $params = [
              'key' => $this->slReseplanerare2key,
              'ref' => $ref
          ];
  
          $request = $this->client->request('GET', $url, [
              'query' => $params
          ]);
  
          $resp = $this->client->send($request);
          $json = json_decode($resp->getBody(), true);
          return $json;
      }
code: public function slReseplanerare2JourneyDetail($ref) {
          $url = $this->SlReseplanerare2URL.'/journeydetail.json';
  
          $params = [
              'key' => $this->slReseplanerare2key,
              'ref' => $ref
          ];
  
          $request = $this->client->request('GET', $url, [
              'query' => $params
          ]);
  
          $resp = $this->client->send($request);
          $json = json_decode($resp->getBody(), true);
          return $json;
      }
code_tokens: public function slReseplanerare2JourneyDetail ( $ ref ) { $ url = $ this -> SlReseplanerare2URL . '/journeydetail.json' ; $ params = [ 'key' => $ this -> slReseplanerare2key , 'ref' => $ ref ] ; $ request = $ this -> client -> request ( 'GET' , $ url , [ 'query' => $ params ] ) ; $ resp = $ this -> client -> send ( $ request ) ; $ json = json_decode ( $ resp -> getBody ( ) , true ) ; return $ json ; }
docstring: SL Reseplanerare 2 -> JourneyDetail
  
  See https://www.trafiklab.se/api/sl-reseplanerare-2
  
  @link https://www.trafiklab.se/api/sl-reseplanerare-2
  @param string $ref
  @return mixed
docstring_tokens: SL Reseplanerare 2 - > JourneyDetail