@@ -36,37 +36,37 @@ |
||
36 | 36 | * @since 20.0.0 |
37 | 37 | */ |
38 | 38 | class BeforeTemplateRenderedEvent extends Event { |
39 | - /** |
|
40 | - * @since 20.0.0 |
|
41 | - */ |
|
42 | - public const SCOPE_PUBLIC_SHARE_AUTH = 'publicShareAuth'; |
|
39 | + /** |
|
40 | + * @since 20.0.0 |
|
41 | + */ |
|
42 | + public const SCOPE_PUBLIC_SHARE_AUTH = 'publicShareAuth'; |
|
43 | 43 | |
44 | - /** @var IShare */ |
|
45 | - private $share; |
|
46 | - /** @var string|null */ |
|
47 | - private $scope; |
|
44 | + /** @var IShare */ |
|
45 | + private $share; |
|
46 | + /** @var string|null */ |
|
47 | + private $scope; |
|
48 | 48 | |
49 | - /** |
|
50 | - * @since 20.0.0 |
|
51 | - */ |
|
52 | - public function __construct(IShare $share, ?string $scope = null) { |
|
53 | - parent::__construct(); |
|
49 | + /** |
|
50 | + * @since 20.0.0 |
|
51 | + */ |
|
52 | + public function __construct(IShare $share, ?string $scope = null) { |
|
53 | + parent::__construct(); |
|
54 | 54 | |
55 | - $this->share = $share; |
|
56 | - $this->scope = $scope; |
|
57 | - } |
|
55 | + $this->share = $share; |
|
56 | + $this->scope = $scope; |
|
57 | + } |
|
58 | 58 | |
59 | - /** |
|
60 | - * @since 20.0.0 |
|
61 | - */ |
|
62 | - public function getShare(): IShare { |
|
63 | - return $this->share; |
|
64 | - } |
|
59 | + /** |
|
60 | + * @since 20.0.0 |
|
61 | + */ |
|
62 | + public function getShare(): IShare { |
|
63 | + return $this->share; |
|
64 | + } |
|
65 | 65 | |
66 | - /** |
|
67 | - * @since 20.0.0 |
|
68 | - */ |
|
69 | - public function getScope(): ?string { |
|
70 | - return $this->scope; |
|
71 | - } |
|
66 | + /** |
|
67 | + * @since 20.0.0 |
|
68 | + */ |
|
69 | + public function getScope(): ?string { |
|
70 | + return $this->scope; |
|
71 | + } |
|
72 | 72 | } |