Exemple #1
0
 public function get_url()
 {
     $url = parent::get_url();
     $etag = $this->getEtag();
     return $url . ($etag ? '?etag=' . $etag : '');
 }
Exemple #2
0
 public function get_url()
 {
     $url = parent::get_url();
     if (null !== $this->getEtag()) {
         $url->getQuery()->set('etag', $this->getEtag());
     }
     return $url;
 }