You are here

public function EasyRdf_ParsedUri::setAuthority in Drupal 8

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