Pinq\Expressions\TernaryExpression::getIfFalse PHP Method

getIfFalse() public method

public getIfFalse ( ) : Expression
return Expression
    public function getIfFalse()
    {
        return $this->ifFalse;
    }

Usage Example

Esempio n. 1
0
 public function visitTernary(O\TernaryExpression $expression)
 {
     $this->walk($expression->getCondition());
     $this->walk($expression->getIfTrue());
     $this->walk($expression->getIfFalse());
     $this->analysis[$expression] = $this->typeSystem->getCommonAncestorType($this->analysis[$expression->hasIfTrue() ? $expression->getIfTrue() : $expression->getCondition()], $this->analysis[$expression->getIfFalse()]);
 }
All Usage Examples Of Pinq\Expressions\TernaryExpression::getIfFalse