PHP Class Nelmio\SecurityBundle\Twig\TokenParser\AbstractCSPParser

Inheritance: extends Twig_TokenParser
Afficher le fichier Open project: nelmio/NelmioSecurityBundle Class Usage Examples

Protected Properties

Свойство Type Description
$shaComputer

Méthodes publiques

Méthode Description
__construct ( ShaComputer $shaComputer, $tag, $directive )
decideCSPScriptEnd ( Twig_Token $token )
getTag ( )
parse ( Twig_Token $token )

Méthodes protégées

Méthode Description
computeSha ( $data )

Method Details

__construct() public méthode

public __construct ( ShaComputer $shaComputer, $tag, $directive )
$shaComputer Nelmio\SecurityBundle\ContentSecurityPolicy\ShaComputer

computeSha() abstract protected méthode

abstract protected computeSha ( $data )

decideCSPScriptEnd() public méthode

public decideCSPScriptEnd ( Twig_Token $token )
$token Twig_Token

getTag() public méthode

public getTag ( )

parse() public méthode

public parse ( Twig_Token $token )
$token Twig_Token

Property Details

$shaComputer protected_oe property

protected $shaComputer