Lines Matching refs:fragment
79 private ?string $fragment = null;
139 $this->fragment = $urlComponents["fragment"] ?? null;
440 if ($this->fragment === null) {
441 throw new ExceptionNotFound("The fragment was not set");
443 return $this->fragment;
536 throw new ExceptionNotEquals("The fragment are not equals ($actualFragment vs $expectedFragment)");
554 * @param string $fragment
556 * Example `#step:11:24728`, this fragment is valid!
558 public function setFragment(string $fragment): Url
560 $this->fragment = $fragment;
773 // no fragment
983 * (ie has not path, only a fragment such as #id)