Copied!

URLWildcardServiceDecorator

URLWildcardServiceDecorator.php : 18
Implements URLWildcardService

Properties

protected $innerService

URLWildcardServiceDecorator.php : 21
protected URLWildcardService $innerService

Methods

public__construct()

URLWildcardServiceDecorator.php : 23
public __construct(URLWildcardService $innerService)

Parameters

Name Type Default value Description
$innerService URLWildcardService - -

publiccountAll()

URLWildcardServiceDecorator.php : 70

Counts URL Wildcards.

public countAll() : int

Return values

int

publiccreate()

URLWildcardServiceDecorator.php : 28

Creates a new url wildcard.

public create(string $sourceUrl, string $destinationUrl[, bool $forward = false ]) : UrlWildcard

Parameters

Name Type Default value Description
$sourceUrl string - -
$destinationUrl string - -
$forward bool false -

Return values

UrlWildcard

publicfindUrlWildcards()

URLWildcardServiceDecorator.php : 60
public findUrlWildcards(URLWildcardQuery $query) : SearchResult

Parameters

Name Type Default value Description
$query URLWildcardQuery - -

Return values

SearchResult

publicload()

URLWildcardServiceDecorator.php : 48

Loads a url wild card.

public load(int $id) : UrlWildcard

Parameters

Name Type Default value Description
$id int - -

Return values

UrlWildcard

publicloadAll()

URLWildcardServiceDecorator.php : 53

Loads all url wild card (paged).

public loadAll([int $offset = 0 ][, int $limit = -1 ]) : array<string|int, UrlWildcard>

Parameters

Name Type Default value Description
$offset int 0 -
$limit int -1 -

Return values

array<string|int, UrlWildcard>

publicremove()

URLWildcardServiceDecorator.php : 43

Removes an url wildcard.

public remove(URLWildcard $urlWildcard) : void

Parameters

Name Type Default value Description
$urlWildcard URLWildcard -

the url wildcard to remove

publictranslate()

URLWildcardServiceDecorator.php : 65

Translates an url to an existing uri resource based on the source/destination patterns of the url wildcard.

public translate(string $url) : URLWildcardTranslationResult

Parameters

Name Type Default value Description
$url string - -

Return values

URLWildcardTranslationResult

publicupdate()

URLWildcardServiceDecorator.php : 36

Update an url wildcard.

public update(URLWildcard $urlWildcard, URLWildcardUpdateStruct $updateStruct) : void

Parameters

Name Type Default value Description
$urlWildcard URLWildcard - -
$updateStruct URLWildcardUpdateStruct - -