Свойство | Type | Description | |
---|---|---|---|
$_pattern | string | Regex to extract an id from an URL. | |
$_template | string | Template to build an URL from an id. |
Méthode | 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 | ||
Résultat | string |
protected string $_template | ||
Résultat | string |