public function withMediaByPublicId(): self
    {
        if (!$this->byGuid) {
            return $this;
        }

        $url = clone $this;
        $url->byGuid = false;

        return $url;
    }
public function withMediaByPublicId(): self
    {
        if (!$this->byGuid) {
            return $this;
        }

        $url = clone $this;
        $url->byGuid = false;

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

@return Url
Return a Url using media public IDs instead of media reference Ids .