Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Nelmio
SecurityBundle
ContentSecurityPolicy
NonceGenerator
PHP Class Nelmio\SecurityBundle\ContentSecurityPolicy\NonceGenerator
显示文件
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