Lines Matching full:url
5 use ComboStrap\Web\Url; alias
31 const URL = "url"; define in ComboStrap\\FetcherScreenshot
33 private Url $url; variable in ComboStrap\\FetcherScreenshot
36 public static function createSnapshotFromUrl(Url $urlToSnapshot): FetcherScreenshot
43 function getFetchUrl(Url $url = null): Url argument
45 $url = parent::getFetchUrl($url);
47 $url->addQueryParameter(self::URL, $this->getUrlToSnapshot());
51 return $url;
61 $urlString = $tagAttributes->getValue(self::URL);
63 throw new ExceptionBadArgument("The `url` property is mandatory");
65 $this->url = Url::createFromString($urlString);
82 $url = $this->getUrlToSnapshot();
119 $webDriver->get($url->toAbsoluteUrlString());
179 $lastNameWithoutExtension = $url->getLastNameWithoutExtension();
181 $lastNameWithoutExtension = $url->getHost();
236 private function setUrlToSnapshot(Url $urlToSnapshot): FetcherScreenshot
238 $this->url = $urlToSnapshot;
245 private function getUrlToSnapshot(): Url
247 if (!isset($this->url)) {
248 throw new ExceptionNotFound("No url to snapshot could be determined");
250 return $this->url;