function EasyRdf_ParsedUri::setFragment

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.