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 27
__construct(array $children = [])

LogicConstraint constructor.

Parameters

array $children

at line 35
abstract protected string getOperator()

Return Value

string

at line 40
ConstraintInterface[] getChildren()

Return Value

ConstraintInterface[]

at line 50
LogicConstraint addChild(ConstraintInterface $child)

Parameters

ConstraintInterface $child

Return Value

LogicConstraint

at line 62
LogicConstraint setChildren(array $children)

Parameters

array $children

Return Value

LogicConstraint

at line 81
LogicConstraint clearChildren()

Return Value

LogicConstraint

at line 93
array jsonSerialize()

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

Return Value

array