class ControllerObjectName implements RequestPatternInterface (View source)

This class holds an controller object name pattern an decides, if a \Neos\Flow\Mvc\ActionRequest object matches against this pattern

Properties

protected array $options

Methods

__construct(array $options)

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

bool
matchRequest(ActionRequest $request)

Matches an ActionRequest against its set controller object name pattern rules

Details

__construct(array $options)

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

Parameters

array $options

bool matchRequest(ActionRequest $request)

Matches an ActionRequest against its set controller object name pattern rules

Parameters

ActionRequest $request

The request that should be matched

Return Value

bool

true if the pattern matched, false otherwise

Exceptions

InvalidRequestPatternException