original_string: public function getUrl(string $conversionName = ''): string
      {
          if ($this->hasFile()) {
              return $this->getFile()->getUrl();
          }
          return $this->getCollection()->getDefaultMediaUrl();
  //        $urlGenerator = UrlGeneratorFactory::createForMedia($this);
  //        if ($conversionName !== '') {
  ////            $conversion = ConversionCollection::createForMedia($this)->getByName($conversionName);
  ////            $urlGenerator->setConversion($conversion);
  //        }
  //        return $urlGenerator->getUrl();
      }
code: public function getUrl(string $conversionName = ''): string
      {
          if ($this->hasFile()) {
              return $this->getFile()->getUrl();
          }
          return $this->getCollection()->getDefaultMediaUrl();
  //        $urlGenerator = UrlGeneratorFactory::createForMedia($this);
  //        if ($conversionName !== '') {
  ////            $conversion = ConversionCollection::createForMedia($this)->getByName($conversionName);
  ////            $urlGenerator->setConversion($conversion);
  //        }
  //        return $urlGenerator->getUrl();
      }
code_tokens: public function getUrl ( string $ conversionName = '' ) : string { if ( $ this -> hasFile ( ) ) { return $ this -> getFile ( ) -> getUrl ( ) ; } return $ this -> getCollection ( ) -> getDefaultMediaUrl ( ) ; //        $urlGenerator = UrlGeneratorFactory::createForMedia($this); //        if ($conversionName !== '') { ////            $conversion = ConversionCollection::createForMedia($this)->getByName($conversionName); ////            $urlGenerator->setConversion($conversion); //        } //        return $urlGenerator->getUrl(); }
docstring: Get the url to a original media file.
  
  @param string $conversionName
  
  @return string
docstring_tokens: Get the url to a original media file .