1 | <?php |
||
13 | class CspStaticProxy |
||
14 | { |
||
15 | public static $browserDetector = 'Woothee'; |
||
16 | |||
17 | /** |
||
18 | * @var \Kenjis\Csp\Csp |
||
19 | */ |
||
20 | protected static $csp; |
||
21 | |||
22 | protected static function createCsp() |
||
36 | |||
37 | public static function setReportOnly() |
||
42 | |||
43 | public static function sendHeader() |
||
48 | |||
49 | /** |
||
50 | * @param string $directive |
||
51 | * @param string $value |
||
52 | */ |
||
53 | public static function addPolicy($directive, $value) |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public static function getNonce() |
||
67 | |||
68 | public static function resetCsp() |
||
72 | } |
||
73 |