PHP 클래스 Flint\Routing\ChainMatcher

This wraps multiple UrlMatcherInterface's in order to not overwrite Silex internals. Created with inspiration from my own work of symfony-cmf ChainRouter and the ChainMatcher found in Drupal.
상속: implements Symfony\Component\Routing\Matcher\UrlMatcherInterface, implements Symfony\Component\Routing\Matcher\RequestMatcherInterface
파일 보기 프로젝트 열기: flint/flint 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$context
$matchers

공개 메소드들

메소드 설명
__construct ( $matchers = [] )
add ( Symfony\Component\Routing\Matcher\UrlMatcherInterface $matcher, $priority )
getContext ( )
match ( $pathinfo )
matchRequest ( Request $request )
setContext ( Symfony\Component\Routing\RequestContext $context )

보호된 메소드들

메소드 설명
doMatch ( $pathinfo, Request $request = null )
sort ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $matchers = [] )

add() 공개 메소드

public add ( Symfony\Component\Routing\Matcher\UrlMatcherInterface $matcher, $priority )
$matcher Symfony\Component\Routing\Matcher\UrlMatcherInterface

doMatch() 보호된 메소드

protected doMatch ( $pathinfo, Request $request = null )
$request Symfony\Component\HttpFoundation\Request

getContext() 공개 메소드

public getContext ( )

match() 공개 메소드

public match ( $pathinfo )

matchRequest() 공개 메소드

public matchRequest ( Request $request )
$request Symfony\Component\HttpFoundation\Request

setContext() 공개 메소드

public setContext ( Symfony\Component\Routing\RequestContext $context )
$context Symfony\Component\Routing\RequestContext

sort() 보호된 메소드

protected sort ( )

프로퍼티 상세

$context 보호되어 있는 프로퍼티

protected $context

$matchers 보호되어 있는 프로퍼티

protected $matchers