function EasyRdf_ParsedUri::setAuthority

Sets the authority of the URI (e.g. www.example.com:8080)

Parameters

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

File

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

Class

EasyRdf_ParsedUri
A RFC3986 compliant URI parser

Namespace

Drupal\Tests\rdf\Traits

Code

public function setAuthority($authority) {
    $this->authority = $authority;
}

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