Copied!

SiteAccessMatcherConfiguration

SiteAccessMatcherConfiguration.php : 17
Extends ValueObject

The base class for all value objects and structs.

Properties

public $host read-only

SiteAccessMatcherConfiguration.php
public string|null $host

public $path read-only

SiteAccessMatcherConfiguration.php
public string|null $path

protected $host

SiteAccessMatcherConfiguration.php : 20
protected string|null $host

protected $path

SiteAccessMatcherConfiguration.php : 23
protected string|null $path

Methods

public__construct()

SiteAccessMatcherConfiguration.php : 25

Construct object optionally with a set of properties.

public __construct([string|null $host = null ][, string|null $path = null ])

Readonly properties values must be set using $properties as they are not writable anymore after object has been created.

Parameters

Name Type Default value Description
$host string|null null -
$path string|null null -

publicgetUrl()

SiteAccessMatcherConfiguration.php : 33
public getUrl() : string

Return values

string

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>

Used by attributes(), override to add dynamic properties

Parameters

Name Type Default value Description
$dynamicProperties array<string|int, mixed> []

Additional dynamic properties exposed on the object

Return values

array<string|int, mixed>