original_string: public function withMediaByPublicId(): self
      {
          if (!$this->byGuid) {
              return $this;
          }
  
          $url = clone $this;
          $url->byGuid = false;
  
          return $url;
      }
code: public function withMediaByPublicId(): self
      {
          if (!$this->byGuid) {
              return $this;
          }
  
          $url = clone $this;
          $url->byGuid = false;
  
          return $url;
      }
code_tokens: public function withMediaByPublicId ( ) : self { if ( ! $ this -> byGuid ) { return $ this ; } $ url = clone $ this ; $ url -> byGuid = false ; return $ url ; }
docstring: Return a Url using media public IDs instead of media reference Ids.
  
  @return Url
docstring_tokens: Return a Url using media public IDs instead of media reference Ids .