PHP Class Storm\Core\Object\Expressions\TernaryExpression

Author: Elliot Levin ([email protected])
Inheritance: extends Expression
显示文件 Open project: timetoogo/penumbra

Public Methods

Method Description
GetConditionExpression ( ) : Expression
GetIfFalseExpression ( ) : Expression
GetIfTrueExpression ( ) : Expression
__construct ( Expression $ConditionExpression, Expression $IfTrueExpression, Expression $IfFalseExpression )

Method Details

GetConditionExpression() public method

public GetConditionExpression ( ) : Expression
return Expression

GetIfFalseExpression() public method

public GetIfFalseExpression ( ) : Expression
return Expression

GetIfTrueExpression() public method

public GetIfTrueExpression ( ) : Expression
return Expression

__construct() public method

public __construct ( Expression $ConditionExpression, Expression $IfTrueExpression, Expression $IfFalseExpression )
$ConditionExpression Expression
$IfTrueExpression Expression
$IfFalseExpression Expression