Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | class AddContentSecurityPolicyEvent extends Event { |
||
35 | |||
36 | /** @var ContentSecurityPolicyManager */ |
||
37 | private $policyManager; |
||
38 | |||
39 | /** |
||
40 | * @since 17.0.0 |
||
41 | */ |
||
42 | public function __construct(ContentSecurityPolicyManager $policyManager) { |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @since 17.0.0 |
||
48 | */ |
||
49 | public function addPolicy(EmptyContentSecurityPolicy $csp): void { |
||
53 |