UrlMatcherInterface
            
            extends
                            RequestContextAwareInterface                    
                
            in
            
        
    
        
            UrlMatcherInterface is the interface that all URL matcher classes must implement.
Tags
Table of Contents
- getContext() : RequestContext
 - Gets the request context.
 - match() : array<string|int, mixed>
 - Tries to match a URL path with a set of routes.
 - setContext() : mixed
 - Sets the request context.
 
Methods
getContext()
Gets the request context.
    public
                    getContext() : RequestContext
    
    
    
        Return values
RequestContext —The context
match()
Tries to match a URL path with a set of routes.
    public
                    match(string $pathinfo) : array<string|int, mixed>
        If the matcher can not find information, it must throw one of the exceptions documented below.
Parameters
- $pathinfo : string
 - 
                    
The path info to be parsed (raw format, i.e. not urldecoded)
 
Tags
Return values
array<string|int, mixed> —An array of parameters
setContext()
Sets the request context.
    public
                    setContext(RequestContext $context) : mixed
    
        Parameters
- $context : RequestContext