Copied!

URLWildcard

URLWildcard.php : 21
Extends ValueObject

This class represents a url alias in the repository.

Properties

public $destinationUrl read-only

URLWildcard.php
public string $destinationUrl

The destination URL with placeholders

public $forward read-only

URLWildcard.php
public bool $forward

indicates if the url is redirected or not

public $id read-only

URLWildcard.php
public mixed $id

A unique identifier for the alias

public $sourceUrl read-only

URLWildcard.php
public string $sourceUrl

The source url with wildcards

protected $destinationUrl

URLWildcard.php : 42

The destination url containing placeholders e.g. /destination/{1}.

protected string $destinationUrl

protected $forward

URLWildcard.php : 49

Indicates if the url is redirected or not.

protected bool $forward

protected $id

URLWildcard.php : 28

The unique id.

protected mixed $id

protected $sourceUrl

URLWildcard.php : 35

The source url including "*".

protected string $sourceUrl

Methods

public__construct()

ValueObject.php : 30

Construct object optionally with a set of properties.

public __construct([array<string|int, mixed> $properties = [] ])

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
$properties array<string|int, mixed> [] -

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>