Neos\Flow\Tests\Unit\Security\RequestPattern\HostTest::uriAndHostPatterns PHP Méthode

uriAndHostPatterns() public méthode

Data provider with URIs and host patterns
public uriAndHostPatterns ( )
    public function uriAndHostPatterns()
    {
        return [['http://neos.io/index.php', 'neos.*', true, 'Assert that wildcard matches.'], ['http://www.neos.io/index.php', 'flow.neos.io', false, 'Assert that subdomains don\'t match.'], ['http://www.neos.io/index.php', '*www.neos.io', true, 'Assert that prefix wildcard matches.'], ['http://www.neos.io/index.php', '*.www.neos.io', false, 'Assert that subdomain wildcard doesn\'t match.'], ['http://flow.neos.io/', '*.neos.io', true, 'Assert that subdomain wildcard matches.'], ['http://flow.neos.io/', 'www.neos.io', false, 'Assert that different subdomain doesn\'t match.']];
    }