Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Nelmio
SecurityBundle
ContentSecurityPolicy
NonceGenerator
PHP Class Nelmio\SecurityBundle\ContentSecurityPolicy\NonceGenerator
Mostra file
Open project: nelmio/NelmioSecurityBundle
Public Methods
Method
Description
__construct
(
$numberOfBytes
)
generate
( ) :
string
Generates a nonce value that is later used in script and style policies.
Method Details
__construct()
public
method
public
__construct
(
$numberOfBytes
)
generate()
public
method
Generates a nonce value that is later used in script and style policies.
public
generate
( ) :
string
return
string