MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

ConstraintOperation

MMO\math\operations · 1 symbole · générée le 27 Oct 2026

class

ConstraintOperation

ConstraintOperation.php:13
class MMO\math\operations\ConstraintOperation extends MMO\math\operations\Operation
Espace de noms
MMO\math\operations
Étend
Operation

Méthodes4

Membres hérités (31)
PropriétésDéclaré parDescription
contentOperation
operatorOperation
MéthodesDéclaré parDescription
addListener($callable, $target)Operation
canCommute()Operation
canInverseEquality()Operation
clear()OperationEmpty the underlying content, keeping the object itself.
commute()Operation
compareTo($value)Operation
contains($num)OperationTest if operation contains the number or an instance of it
count()Operation\Countable::count
debugName()Operation
execute()Operation
extract($num, $result)Operation
getIterator()Operation\IteratorAggregate::getIterator
getOperator()Operation
hasUnits()Operation
inverseEquality($value)Operation
isEmpty()Operation
jsonSerialize()Operation\JsonSerializable::jsonSerialize -- the raw content is returned as-is (not recursively converted), so json_encode() relies on any nested iArray values being JsonSerializable themselves.
keys()Operation
loadArray($data)OperationLoad every entry of a plain array into the content, through offsetSet (so any offsetSet() override defined by the class using this trait, e.g.
loopNumber()Operation
offsetExists($key)Operation\ArrayAccess::offsetExists
offsetGet($key)Operation\ArrayAccess::offsetGet
offsetSet($key, $value)Operation\ArrayAccess::offsetSet -- a null $key appends ($bag[] = $value), like a plain PHP array.
offsetUnset($key)Operation\ArrayAccess::offsetUnset -- on a list (sequential integer keys, as produced by $bag[] = ...), the element is spliced out (closing the gap and reindexing), matching \unset() semantics on a plain …
removeListener($callable)Operation
simplify()Operation
toArray()OperationConvert the content to a plain array, recursively converting any nested iArray value (e.g.
units()OperationGet the units of this operation.
__toString()Operation