PHP Class Rs\Json\Patch\Operations\Move

Inheritance: extends Rs\Json\Patch\Operation
Exibir arquivo Open project: raphaelstolt/php-jsonpatch

Protected Properties

Property Type Description
$from string

Public Methods

Method Description
__construct ( stdClass $operation )
perform ( string $targetDocument ) : string

Protected Methods

Method Description
assertMandatories ( stdClass $operation ) Guard the mandatory operation property
getFrom ( ) : string

Method Details

__construct() public method

public __construct ( stdClass $operation )
$operation stdClass

assertMandatories() protected method

Guard the mandatory operation property
protected assertMandatories ( stdClass $operation )
$operation stdClass The operation structure.

getFrom() protected method

protected getFrom ( ) : string
return string

perform() public method

public perform ( string $targetDocument ) : string
$targetDocument string
return string

Property Details

$from protected_oe property

protected string $from
return string