PHP 클래스 Pagekit\Routing\Event\RouterListener

상속: implements Pagekit\Event\EventSubscriberInterface
파일 보기 프로젝트 열기: pagekit/pagekit

보호된 프로퍼티들

프로퍼티 타입 설명
$logger
$matcher

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Routing\Matcher\UrlMatcherInterface | Symfony\Component\Routing\Matcher\RequestMatcherInterface $matcher, Psr\Log\LoggerInterface $logger = null ) Constructor.
onRequest ( $event, $request )
parametersToString ( array $parameters )
subscribe ( )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Symfony\Component\Routing\Matcher\UrlMatcherInterface | Symfony\Component\Routing\Matcher\RequestMatcherInterface $matcher, Psr\Log\LoggerInterface $logger = null )
$matcher Symfony\Component\Routing\Matcher\UrlMatcherInterface | Symfony\Component\Routing\Matcher\RequestMatcherInterface
$logger Psr\Log\LoggerInterface

onRequest() 공개 메소드

public onRequest ( $event, $request )

parametersToString() 공개 메소드

public parametersToString ( array $parameters )
$parameters array

subscribe() 공개 메소드

public subscribe ( )

프로퍼티 상세

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

protected $logger

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

protected $matcher