Nelmio\SecurityBundle\Tests\Listener\ExternalRedirectListenerTest::provideRedirectMatcher PHP Method

provideRedirectMatcher() public method

    public function provideRedirectMatcher()
    {
        return array(array('http://test.org/', 'http://test.org/foo', false), array('http://test.org/', 'https://test.org/foo', false), array('http://test.org/', '/foo', false), array('http://test.org/', 'foo', false), array('http://test.org/', 'http://example.org/foo', true), array('http://test.org/', 'http://foo.test.org/', true), array('http://test.org/', 'http://test.org.com/', true), array('http://test.org/', 'http://foo.com/http://test.org/', true), array('http://test.org/', '//foo.com/', true));
    }