Nelmio\SecurityBundle\Tests\ContentSecurityPolicy\ContentSecurityPolicyParserTest::keywordsProvider PHP Method

keywordsProvider() public method

public keywordsProvider ( )
    public function keywordsProvider()
    {
        return array(array('self', "'self'"), array('none', "'none'"), array('unsafe-eval', "'unsafe-eval'"), array('unsafe-inline', "'unsafe-inline'"), array('hostname', 'hostname'), array('example.com', 'example.com'), array('http://example.com', 'http://example.com'), array('http://example.com:81', 'http://example.com:81'), array('https://example.com', 'https://example.com'));
    }
ContentSecurityPolicyParserTest