class LogicConstraint implements ConstraintInterface

LogicConstraint class.

Properties

protected ConstraintInterface[] $children

Methods

__construct(array $children = [])

LogicConstraint constructor.

string
getOperator()

No description

getChildren()

No description

setChildren(array $children)

No description

clearChildren()

No description

array
jsonSerialize()

Returns an array to be used by "json_encode" to serialize objects of this class.

Details

at line 28
__construct(array $children = [])

LogicConstraint constructor.

Parameters

array $children

at line 36
abstract protected string getOperator()

Return Value

string

at line 41
ConstraintInterface[] getChildren()

Return Value

ConstraintInterface[]

at line 51
LogicConstraint addChild(ConstraintInterface $child)

Parameters

ConstraintInterface $child

Return Value

LogicConstraint

at line 63
LogicConstraint setChildren(array $children)

Parameters

array $children

Return Value

LogicConstraint

at line 82
LogicConstraint clearChildren()

Return Value

LogicConstraint

at line 94
array jsonSerialize()

Returns an array to be used by "json_encode" to serialize objects of this class.

Return Value

array