PHP Class Neos\Flow\Security\RequestPattern\ControllerObjectName

Inheritance: implements Neos\Flow\Security\RequestPatternInterface
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$options array

Méthodes publiques

Méthode Description
__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)

Method Details

__construct() public méthode

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

matchRequest() public méthode

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
Résultat boolean TRUE if the pattern matched, FALSE otherwise

setPattern() public méthode

Sets an controller object name pattern (preg_match() syntax)
Deprecation: 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
Résultat void

Property Details

$options protected_oe property

protected array $options
Résultat array