ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PushSubscription.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23readonly class PushSubscription
24{
25 public function __construct(
26 protected string $endpoint,
27 protected string $auth,
28 protected string $p256dh,
29 ) {
30 }
31
32 public function getEndpoint(): string
33 {
34 return $this->endpoint;
35 }
36
37 public function getAuth(): string
38 {
39 return $this->auth;
40 }
41
42 public function getP256dh(): string
43 {
44 return $this->p256dh;
45 }
46}
__construct(protected string $endpoint, protected string $auth, protected string $p256dh,)