PHP Class Neos\Fusion\TypoScriptObjects\CaseImplementation
The "case" TypoScript object renders its children in order. The first
result which is not MATCH_NORESULT is returned.
Often, this TypoScript object is used together with the "Matcher" TypoScript
object; and all its children are by-default interpreted as "Matcher" TypoScript
objects if no others are specified.
Mostra file
Open project: neos/neos-development-collection
Public Methods
Method |
Description |
|
evaluate ( ) : mixed |
Execute each matcher until the first one matches |
|
Protected Methods
Method Details
Execute each matcher until the first one matches
matcherMatched()
protected method
If the debug mode is enabled, we have to strip the debug output before comparing the rendered result.
renderMatcher()
protected method
A result value of MATCH_NORESULT means that the condition of the matcher did not match and the case should
continue.