Property | Type | Description | |
---|---|---|---|
$_pattern | string | Regex to extract an id from an URL. | |
$_template | string | Template to build an URL from an id. |
Method | Description | |
---|---|---|
__construct ( string $idPattern, string $urlTemplate ) | Constructor. | |
prepare ( $url ) | {@inheritDoc} |
public __construct ( string $idPattern, string $urlTemplate ) | ||
$idPattern | string | Regex to extract an id from an URL. |
$urlTemplate | string | Template to build an URL from an id. |
protected string $_pattern | ||
return | string |
protected string $_template | ||
return | string |