Lines Matching refs:fetchUrl
108 private Url $fetchUrl;
171 public static function createFromFetchUrl(Url $fetchUrl): MediaMarkup
173 return (new MediaMarkup())->setUrl($fetchUrl);
741 if (isset($this->fetchUrl)) {
744 $this->fetchUrl->addQueryParameterIfNotPresent(Dimension::WIDTH_KEY, $width);
748 $this->fetchUrl->addQueryParameterIfNotPresent(Dimension::HEIGHT_KEY, $height);
752 $this->fetchUrl->addQueryParameterIfNotPresent(Dimension::RATIO_ATTRIBUTE, $ratio);
822 private function setUrl(Url $fetchUrl): MediaMarkup
829 $this->align = $fetchUrl->getQueryPropertyValueAndRemoveIfPresent(Align::ALIGN_ATTRIBUTE);
834 $this->linking = $fetchUrl->getQueryPropertyValueAndRemoveIfPresent(self::LINKING_KEY);
839 $this->lazyLoadMethod = $fetchUrl->getQueryPropertyValueAndRemoveIfPresent(LazyLoad::LAZY_LOAD_METHOD);
844 $this->linkingClass = $fetchUrl->getQueryPropertyValueAndRemoveIfPresent(self::LINK_CLASS_ATTRIBUTE);
851 $value = $fetchUrl->getQueryPropertyValueAndRemoveIfPresent($nonUrlAttribute);
858 $this->fetchUrl = $fetchUrl;
915 if (!isset($this->fetchUrl)) {
927 $this->fetcher = FetcherSystem::createPathFetcherFromUrl($this->fetchUrl);