示例#1
0
 private function deriveScheme()
 {
     if (!$this->absoluteUrl->hasScheme()) {
         if ($this->sourceUrl->hasScheme()) {
             $this->absoluteUrl->setScheme($this->sourceUrl->getScheme());
         }
     }
 }
 /**
  * 
  * @param NormalisedUrl $url
  * @return boolean
  */
 private function isUrlSchemeToBeIncluded(NormalisedUrl $url)
 {
     return !in_array($url->getScheme(), $this->getConfiguration()->getSchemesToExclude());
 }