PHP Class Nelmio\SecurityBundle\ContentSecurityPolicy\PolicyManager

Show file Open project: nelmio/NelmioSecurityBundle

Public Methods

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

Private Methods

Method Description
getChromeDirectives ( )
getDraftDirectives ( )
getFirefoxDirectives ( )
getLevel1 ( )
getLevel2 ( )
getLevel3 ( )

Method Details

__construct() public method

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

getAvailableDirective() public method

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