PHP Class Nelmio\SecurityBundle\ContentSecurityPolicy\NonceGenerator

Afficher le fichier Open project: nelmio/NelmioSecurityBundle

Méthodes publiques

Méthode Description
__construct ( $numberOfBytes )
generate ( ) : string Generates a nonce value that is later used in script and style policies.

Method Details

__construct() public méthode

public __construct ( $numberOfBytes )

generate() public méthode

Generates a nonce value that is later used in script and style policies.
public generate ( ) : string
Résultat string