phpbb\routing\router::get_matcher PHP 메소드

get_matcher() 공개 메소드

Gets the UrlMatcher instance associated with this Router.
public get_matcher ( ) : Symfony\Component\Routing\Matcher\UrlMatcherInterface
리턴 Symfony\Component\Routing\Matcher\UrlMatcherInterface A UrlMatcherInterface instance
    public function get_matcher()
    {
        if ($this->matcher !== null) {
            return $this->matcher;
        }
        $this->create_dumped_url_matcher();
        return $this->matcher;
    }

Usage Example

예제 #1
0
파일: router.php 프로젝트: MrAdder/phpbb
 public function get_matcher()
 {
     $this->create_new_url_matcher();
     return parent::get_matcher();
 }