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

  • RedirectableUrlMatcher
  • TraceableUrlMatcher
  • UrlMatcher

Interfaces

  • RedirectableUrlMatcherInterface
  • RequestMatcherInterface
  • UrlMatcherInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface RequestMatcherInterface

RequestMatcherInterface is the interface that all request matcher classes must implement.

Direct known implementers

Symfony\Component\Routing\Matcher\UrlMatcher, Symfony\Component\Routing\Router

Indirect known implementers

Symfony\Component\Routing\Matcher\RedirectableUrlMatcher, Symfony\Component\Routing\Matcher\TraceableUrlMatcher, Symfony\Component\Routing\Tests\Fixtures\RedirectableUrlMatcher
Namespace: Symfony\Component\Routing\Matcher
Author: Fabien Potencier <fabien@symfony.com>
Located at Matcher/RequestMatcherInterface.php
Methods summary
public array
# matchRequest( Symfony\Component\HttpFoundation\Request $request )

Tries to match a request with a set of routes.

Tries to match a request with a set of routes.

If the matcher can not find information, it must throw one of the exceptions documented below.

Parameters

$request
Symfony\Component\HttpFoundation\Request
$request The request to match

Returns

array
An array of parameters

Throws

Symfony\Component\Routing\Exception\ResourceNotFoundException
If no matching resource could be found
Symfony\Component\Routing\Exception\MethodNotAllowedException
If a matching resource was found but the request method is not allowed
Ratchet API documentation generated by ApiGen 2.8.0