PHP 클래스 Neos\Flow\Security\RequestPattern\ControllerObjectName

상속: implements Neos\Flow\Security\RequestPatternInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$options array

공개 메소드들

메소드 설명
__construct ( array $options ) Expects options in the form array('controllerObjectNamePattern' => '')
matchRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean Matches a \Neos\Flow\Mvc\RequestInterface against its set controller object name pattern rules
setPattern ( string $controllerObjectNamePattern ) : void Sets an controller object name pattern (preg_match() syntax)

메소드 상세

__construct() 공개 메소드

Expects options in the form array('controllerObjectNamePattern' => '')
public __construct ( array $options )
$options array

matchRequest() 공개 메소드

Matches a \Neos\Flow\Mvc\RequestInterface against its set controller object name pattern rules
public matchRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean
$request Neos\Flow\Mvc\RequestInterface The request that should be matched
리턴 boolean TRUE if the pattern matched, FALSE otherwise

setPattern() 공개 메소드

Sets an controller object name pattern (preg_match() syntax)
사용 중단: since 3.3 this is not used - use options instead (@see __construct())
public setPattern ( string $controllerObjectNamePattern ) : void
$controllerObjectNamePattern string The preg_match() styled controller object name pattern
리턴 void

프로퍼티 상세

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

protected array $options
리턴 array