/** * * @return string */ public function getHostname() { return $this->options->getCdnHostname(); }
/** * * @param string $realpath * @return boolean */ protected function isPartOfCdn($realpath) { $cdn = $this->options->getBasePath(); return strstr($realpath, $cdn); }