You are here

public function EasyRdf_ParsedUri::setFragment in Drupal 8

Set the fragment of the URI (i.e. after the #)

Parameters

string $fragment The new value for the fragment component of the URI:

File

core/modules/rdf/tests/src/Traits/EasyRdf_ParsedUri.php, line 200

Class

EasyRdf_ParsedUri
A RFC3986 compliant URI parser

Namespace

Drupal\Tests\rdf\Traits

Code

public function setFragment($fragment) {
  $this->fragment = $fragment;
}