PHP Class Nelmio\SecurityBundle\ContentSecurityPolicy\PolicyManager

Afficher le fichier Open project: nelmio/NelmioSecurityBundle

Méthodes publiques

Méthode Description
__construct ( Nelmio\SecurityBundle\UserAgent\UserAgentParserInterface $uaParser = null )
getAvailableDirective ( Request $request ) : array Returns the list of supported directives for the current Request

Private Methods

Méthode Description
getChromeDirectives ( )
getDraftDirectives ( )
getFirefoxDirectives ( )
getLevel1 ( )
getLevel2 ( )
getLevel3 ( )

Method Details

__construct() public méthode

public __construct ( Nelmio\SecurityBundle\UserAgent\UserAgentParserInterface $uaParser = null )
$uaParser Nelmio\SecurityBundle\UserAgent\UserAgentParserInterface

getAvailableDirective() public méthode

Returns the list of supported directives for the current Request
public getAvailableDirective ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
Résultat array