Parse PHP SDK API Reference

FieldOperation extends Encodable

Class FieldOperation - Interface for all Parse Field Operations.

Tags
author

Fosco Marotto [email protected]

Table of Contents

_apply()  : mixed
Applies the current operation and returns the result.
_encode()  : mixed
Returns an associate array encoding of the implementing class.
_mergeWithPrevious()  : FieldOperation
Merge this operation with a previous operation and return the new operation.

Methods

_apply()

Applies the current operation and returns the result.

public _apply(mixed $oldValue, mixed $object, string $key) : mixed
Parameters
$oldValue : mixed

Value prior to this operation.

$object : mixed

Value for this operation.

$key : string

Key to perform this operation on.

Return values
mixed

Result of the operation.

_encode()

Returns an associate array encoding of the implementing class.

public _encode() : mixed
Return values
mixed

Search results