| 1 | <?php |
||
| 7 | class UrlSigner extends MD5UrlSigner |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Get a secure URL to a controller action. |
||
| 11 | * |
||
| 12 | * @param string $url |
||
| 13 | * @param \DateTime|int|null $expiration Defaults to the config value |
||
| 14 | * |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | public function sign($url, $expiration = null): string |
||
| 23 | } |
||
| 24 |