URLWildcardServiceDecorator
URLWildcardServiceDecorator.php
:
18
Abstract
Implements
URLWildcardService
Properties¶
$innerService
¶
URLWildcardServiceDecorator.php
:
20
|
|
Methods¶
__construct()
¶
URLWildcardServiceDecorator.php
:
22
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$innerService | URLWildcardService | - | - |
countAll()
¶
URLWildcardServiceDecorator.php
:
69
Counts URL Wildcards.
|
|
Return values
int
create()
¶
URLWildcardServiceDecorator.php
:
27
Creates a new url wildcard.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$sourceUrl | string | - | - |
$destinationUrl | string | - | - |
$forward | bool | false | - |
Return values
findUrlWildcards()
¶
URLWildcardServiceDecorator.php
:
59
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | URLWildcardQuery | - | - |
Return values
load()
¶
URLWildcardServiceDecorator.php
:
47
Loads a url wild card.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - | - |
Return values
loadAll()
¶
URLWildcardServiceDecorator.php
:
52
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
:
42
Removes an url wildcard.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$urlWildcard | URLWildcard | - |
the url wildcard to remove |
translate()
¶
URLWildcardServiceDecorator.php
:
64
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
:
35
Update an url wildcard.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$urlWildcard | URLWildcard | - | - |
$updateStruct | URLWildcardUpdateStruct | - | - |