We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d45be commit 25e530fCopy full SHA for 25e530f
mercure.rst
@@ -428,9 +428,9 @@ And here is the controller::
428
$configuration = Configuration::forSymmetricSigner(new Sha256(), $key);
429
430
$token = $configuration->builder()
431
- ->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *
432
- ->getToken($configuration->signer(), $configuration->signingKey())
433
- ->toString();
+ ->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *
+ ->getToken($configuration->signer(), $configuration->signingKey())
+ ->toString();
434
435
$response = $this->json(['@id' => '/demo/books/1', 'availability' => 'https://schema.org/InStock']);
436
$cookie = Cookie::create('mercureAuthorization')
0 commit comments