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

상속: extends Rs\Json\Patch\Operation
파일 보기 프로젝트 열기: raphaelstolt/php-jsonpatch 1 사용 예제들

공개 메소드들

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

보호된 메소드들

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

비공개 메소드들

메소드 설명
remove ( array | stdClass &$json, array $pointerParts )

메소드 상세

__construct() 공개 메소드

public __construct ( stdClass $operation )
$operation stdClass

assertMandatories() 보호된 메소드

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

perform() 공개 메소드

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