| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | class BeforeTemplateRenderedEvent extends Event { |
||
| 33 | public const SCOPE_PUBLIC_SHARE_AUTH = 'publicShareAuth'; |
||
| 34 | |||
| 35 | /** @var IShare */ |
||
| 36 | private $share; |
||
| 37 | /** @var string|null */ |
||
| 38 | private $scope; |
||
| 39 | |||
| 40 | public function __construct(IShare $share, ?string $scope = null) { |
||
| 41 | parent::__construct(); |
||
| 42 | |||
| 43 | $this->share = $share; |
||
| 44 | $this->scope = $scope; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getShare(): IShare { |
||
| 49 | } |
||
| 50 | |||
| 51 | public function getScope(): ?string { |
||
| 55 |