PHP Class Rs\Json\Patch\Document

Show file Open project: raphaelstolt/php-jsonpatch Class Usage Examples

Public Methods

Method Description
__construct ( string $patchDocument, integer $allowedPatchOperations = null )
getPatchOperations ( ) : Operation[]

Private Methods

Method Description
extractPatchOperations ( string $patchDocument ) : Operation[]
isEmptyPatchDocument ( mixed $patchDocument ) : boolean
patchOperationFactory ( stdClass $possiblePatchOperation ) : Operation

Method Details

__construct() public method

public __construct ( string $patchDocument, integer $allowedPatchOperations = null )
$patchDocument string
$allowedPatchOperations integer

getPatchOperations() public method

public getPatchOperations ( ) : Operation[]
return Operation[]