URLWildcardServiceDecorator
URLWildcardServiceDecorator.php
:
18
Abstract
Implements
URLWildcardService
Properties¶
$innerService
¶
URLWildcardServiceDecorator.php
:
21
|
|
Methods¶
__construct()
¶
URLWildcardServiceDecorator.php
:
23
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$innerService | URLWildcardService | - | - |
countAll()
¶
URLWildcardServiceDecorator.php
:
70
Counts URL Wildcards.
|
|
Return values
int
create()
¶
URLWildcardServiceDecorator.php
:
28
Creates a new url wildcard.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$sourceUrl | string | - | - |
$destinationUrl | string | - | - |
$forward | bool | false | - |
Return values
UrlWildcard
findUrlWildcards()
¶
URLWildcardServiceDecorator.php
:
60
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | URLWildcardQuery | - | - |
Return values
load()
¶
URLWildcardServiceDecorator.php
:
48
Loads a url wild card.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
Return values
UrlWildcard
loadAll()
¶
URLWildcardServiceDecorator.php
:
53
Loads all url wild card (paged).
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$offset | int | 0 | - |
$limit | int | -1 | - |
Return values
array<string|int, UrlWildcard>
remove()
¶
URLWildcardServiceDecorator.php
:
43
Removes an url wildcard.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$urlWildcard | URLWildcard | - |
the url wildcard to remove |
translate()
¶
URLWildcardServiceDecorator.php
:
65
Translates an url to an existing uri resource based on the source/destination patterns of the url wildcard.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$url | string | - | - |
Return values
update()
¶
URLWildcardServiceDecorator.php
:
36
Update an url wildcard.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$urlWildcard | URLWildcard | - | - |
$updateStruct | URLWildcardUpdateStruct | - | - |