Neos.Fusion/Classes/FusionObjects/CaseImplementation.php
protected function renderMatcher($matcherKey)
    {
        $renderedMatcher = null;

        if (isset($this->properties[$matcherKey]['__objectType'])) {
            // object type already set, so no need to set it
            $renderedMatcher = $this->runtime->render(
                sprintf('%s/%s', $this->path, $matcherKey)
            );
            return $renderedMatcher;
        } elseif (!is_array($this->properties[$matcherKey])) {
            throw new UnsupportedObjectTypeAtPathException('"Case" Fusion object only supports nested Fusion objects; no simple values.', 1372668062);
        } elseif (isset($this->properties[$matcherKey]['__eelExpression'])) {
            throw new UnsupportedObjectTypeAtPathException('"Case" Fusion object only supports nested Fusion objects; no Eel expressions.', 1372668077);
        } else {
            // No object type has been set, so we're using Neos.Fusion:Matcher as fallback
            $renderedMatcher = $this->runtime->render(
                sprintf('%s/%s<Neos.Fusion:Matcher>', $this->path, $matcherKey)
            );
            return $renderedMatcher;
        }
    }
protected function renderMatcher($matcherKey)
    {
        $renderedMatcher = null;

        if (isset($this->properties[$matcherKey]['__objectType'])) {
            // object type already set, so no need to set it
            $renderedMatcher = $this->runtime->render(
                sprintf('%s/%s', $this->path, $matcherKey)
            );
            return $renderedMatcher;
        } elseif (!is_array($this->properties[$matcherKey])) {
            throw new UnsupportedObjectTypeAtPathException('"Case" Fusion object only supports nested Fusion objects; no simple values.', 1372668062);
        } elseif (isset($this->properties[$matcherKey]['__eelExpression'])) {
            throw new UnsupportedObjectTypeAtPathException('"Case" Fusion object only supports nested Fusion objects; no Eel expressions.', 1372668077);
        } else {
            // No object type has been set, so we're using Neos.Fusion:Matcher as fallback
            $renderedMatcher = $this->runtime->render(
                sprintf('%s/%s<Neos.Fusion:Matcher>', $this->path, $matcherKey)
            );
            return $renderedMatcher;
        }
    }
protected function renderMatcher ( $ matcherKey ) { $ renderedMatcher = null ; if ( isset ( $ this -> properties [ $ matcherKey ] [ '__objectType' ] ) ) { // object type already set, so no need to set it $ renderedMatcher = $ this -> runtime -> render ( sprintf ( '%s/%s' , $ this -> path , $ matcherKey ) ) ; return $ renderedMatcher ; } elseif ( ! is_array ( $ this -> properties [ $ matcherKey ] ) ) { throw new UnsupportedObjectTypeAtPathException ( '"Case" Fusion object only supports nested Fusion objects; no simple values.' , 1372668062 ) ; } elseif ( isset ( $ this -> properties [ $ matcherKey ] [ '__eelExpression' ] ) ) { throw new UnsupportedObjectTypeAtPathException ( '"Case" Fusion object only supports nested Fusion objects; no Eel expressions.' , 1372668077 ) ; } else { // No object type has been set, so we're using Neos.Fusion:Matcher as fallback $ renderedMatcher = $ this -> runtime -> render ( sprintf ( '%s/%s<Neos.Fusion:Matcher>' , $ this -> path , $ matcherKey ) ) ; return $ renderedMatcher ; } }
Render the given matcher

A result value of MATCH_NORESULT means that the condition of the matcher did not match and the case should
continue.

@param string $matcherKey
@return string
@throws UnsupportedObjectTypeAtPathException
Render the given matcher