You are here

public function UriSigner::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/UriSigner.php \Symfony\Component\HttpKernel\UriSigner::__construct()

Constructor.

Parameters

string $secret A secret:

File

vendor/symfony/http-kernel/UriSigner.php, line 28

Class

UriSigner
Signs URIs.

Namespace

Symfony\Component\HttpKernel

Code

public function __construct($secret) {
  $this->secret = $secret;
}