LogicOperation
MMO\math\operations · 1 symbol · generated 30 Sep 2026
LogicOperation
LogicOperation.php:14- Namespace
MMO\math\operations- Implements
- iOperation, Countable, iListenable, iComparable, Stringable
Index
Properties3
content
list of operations and associated weight
- Type
- array
group
current open group
- Type
- null | LogicOperation
operator
- Type
- cLogicOperator
Methods21
add($op, $weight)
LogicOperation.php:84| $op | iOperation | |
| $weight = 1 | int | |
| returns | void |
addListener($callable, $target)
LogicOperation.php:241compareTo($value)
LogicOperation.php:104contains($num)
LogicOperation.php:108count()
LogicOperation.php:44| returns | int |
debugName()
LogicOperation.php:32| returns | string |
domain()
LogicOperation.php:194| returns | iDomain |
endGroup()
LogicOperation.php:76| returns | self |
extract($num)
LogicOperation.php:128hasGroup()
LogicOperation.php:72| returns | bool |
hasUnits()
LogicOperation.php:36| returns | bool |
loopNumber()
LogicOperation.php:145| returns | Generator |
numberValue()
LogicOperation.php:116remove($op)
LogicOperation.php:89| $op | iOperation | |
| returns | bool |
removeListener($callable)
LogicOperation.php:249simplify()
LogicOperation.php:153startGroup($operator, $weight)
LogicOperation.php:63| $operator | cLogicOperator | |
| $weight = 1 | int | |
| returns | self |
units()
LogicOperation.php:40validate($scores)
LogicOperation.php:169__construct($operator, $args)
LogicOperation.php:27| $operator | cLogicOperator | |
| ...$args | iOperation |
__toString()
LogicOperation.php:53| returns | string |