Class AddUniqueOperation - Operation to add unique objects to an array key.
author |
Fosco Marotto [email protected] |
---|---|
package |
Parse\Internal |
__construct(array $objects)
Throws |
|
---|
array
Objects to add.
_apply(mixed $oldValue, array $obj, string $key) : array
mixed
Value prior to this operation.
array
Value being applied.
string
Key this operation affects.
array
_encode() : array
array
_mergeWithPrevious(\Parse\Internal\FieldOperation $previous) : \Parse\Internal\FieldOperation
getValue() : mixed
mixed
isParseObjectInArray(\Parse\ParseObject $parseObject, array $oldValue) : boolean
array
Array to check if ParseObject is present in
boolean
objects : array
var |
---|
array