com\setasign\SetaFramework\View\Helper

CspHash

File: /SetaFramework/src/View/Helper/CspHash.php

Class hierarchy

Summary

Properties

$cspHelper


Methods

__invoke()

public CspHash::__invoke (
string|'script-src'|'style-src' $directive,
string $content,
string $hashAlgorithm = 'sha384'
): string
Parameters
$directive: string|'script-src'|'style-src'
 
$content: string
 
$hashAlgorithm: string