array(): Statements * 'elseifs' => array(): Elseif clauses * 'else' => null : Else clause * @param array $attributes Additional attributes */ public function __construct(Node\Expr $cond, array $subNodes = array(), array $attributes = array()) { parent::__construct( array( 'cond' => $cond, 'stmts' => isset($subNodes['stmts']) ? $subNodes['stmts'] : array(), 'elseifs' => isset($subNodes['elseifs']) ? $subNodes['elseifs'] : array(), 'else' => isset($subNodes['else']) ? $subNodes['else'] : null, ), $attributes ); $this->cond = $cond; } }