PHP 클래스 Rs\Json\Patch\Operations\Replace

상속: extends Rs\Json\Patch\Operation
파일 보기 프로젝트 열기: raphaelstolt/php-jsonpatch

공개 메소드들

메소드 설명
__construct ( stdClass $operation )
perform ( string $targetDocument ) : string

보호된 메소드들

메소드 설명
assertMandatories ( stdClass $operation ) Guard the mandatory operation property

비공개 메소드들

메소드 설명
replace ( array | stdClass &$json, array $pointerParts, mixed $value = null )

메소드 상세

__construct() 공개 메소드

public __construct ( stdClass $operation )
$operation stdClass

assertMandatories() 보호된 메소드

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

perform() 공개 메소드

public perform ( string $targetDocument ) : string
$targetDocument string
리턴 string