RouterInterface

RouterInterface

interface RouterInterface implements UrlMatcherInterface, UrlGeneratorInterface

RouterInterface is the interface that all Router classes must implement.

This interface is the concatenation of UrlMatcherInterface and UrlGeneratorInterface.

Methods

setContext(RequestContext $context)

Sets the request context.

from 登录查看完整内容