Overview

Namespaces

  • Evenement
  • None
  • PHP
  • Psr
    • Http
      • Message
  • Ratchet
    • Http
    • RFC6455
      • Handshake
      • Messaging
    • Server
    • Session
      • Serialize
      • Storage
        • Proxy
    • Wamp
    • WebSocket
  • React
    • EventLoop
      • Tick
      • Timer
    • Socket
    • Stream
  • Symfony
    • Component
      • HttpFoundation
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
      • Routing
        • Annotation
        • Exception
        • Generator
          • Dumper
        • Loader
          • DependencyInjection
        • Matcher
          • Dumper
        • Tests
          • Annotation
          • Fixtures
            • AnnotatedClasses
            • OtherAnnotatedClasses
          • Generator
            • Dumper
          • Loader
          • Matcher
            • Dumper

Classes

  • CompiledRouteTest
  • RequestContextTest
  • RouteCollectionBuilderTest
  • RouteCollectionTest
  • RouteCompilerTest
  • RouterTest
  • RouteTest
  • Overview
  • Namespace
  • Class
  • Tree

Class RouterTest

PHPUnit\Framework\TestCase
Extended by Symfony\Component\Routing\Tests\RouterTest
Namespace: Symfony\Component\Routing\Tests
Located at Tests/RouterTest.php
Methods summary
protected
# setUp( )
public
# testSetOptionsWithSupportedOptions( )
public
# testSetOptionsWithUnsupportedOptions( )

ExpectedException

\InvalidArgumentException

ExpectedExceptionMessage

The Router does not support the following options: "option_foo", "option_bar"
public
# testSetOptionWithSupportedOption( )
public
# testSetOptionWithUnsupportedOption( )

ExpectedException

\InvalidArgumentException

ExpectedExceptionMessage

The Router does not support the "option_foo" option
public
# testGetOptionWithUnsupportedOption( )

ExpectedException

\InvalidArgumentException

ExpectedExceptionMessage

The Router does not support the "option_foo" option
public
# testThatRouteCollectionIsLoaded( )
public
# testMatcherIsCreatedIfCacheIsNotConfigured( mixed $option )

DataProvider

provideMatcherOptionsPreventingCaching
public
# provideMatcherOptionsPreventingCaching( )
public
# testGeneratorIsCreatedIfCacheIsNotConfigured( mixed $option )

DataProvider

provideGeneratorOptionsPreventingCaching
public
# provideGeneratorOptionsPreventingCaching( )
public
# testMatchRequestWithUrlMatcherInterface( )
public
# testMatchRequestWithRequestMatcherInterface( )
Ratchet API documentation generated by ApiGen 2.8.0