PHP Class Neos\Fusion\TypoScriptObjects\MatcherImplementation

Inheritance: extends RendererImplementation
Show file Open project: neos/neos-development-collection

Public Methods

Method Description
evaluate ( ) : mixed If $condition matches, render $type and return it. Else, return MATCH_NORESULT.
getCondition ( ) : boolean
getRenderPath ( ) : string A path to a TypoScript configuration
getType ( ) : string The type to render if condition is TRUE

Method Details

evaluate() public method

If $condition matches, render $type and return it. Else, return MATCH_NORESULT.
public evaluate ( ) : mixed
return mixed

getCondition() public method

public getCondition ( ) : boolean
return boolean

getRenderPath() public method

A path to a TypoScript configuration
public getRenderPath ( ) : string
return string

getType() public method

The type to render if condition is TRUE
public getType ( ) : string
return string