CRUDUI PHP API

BinaryNode extends Node
in package

FinalYes

Binary operation: logical (&& ||) or comparison (== != > >= < <=).

Table of Contents

Properties

$left  : Node
$operator  : string
$right  : Node

Methods

__construct()  : mixed
Build a binary op from its operator and two operands.
toArray()  : array<string, mixed>
Serialize to {type,operator,left,right}.

Properties

Methods

__construct()

Build a binary op from its operator and two operands.

public __construct(string $operator, Node $left, Node $right) : mixed
Parameters
$operator : string
$left : Node
$right : Node

toArray()

Serialize to {type,operator,left,right}.

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results