PHP 클래스 Rs\Json\Patch\Operation

파일 보기 프로젝트 열기: raphaelstolt/php-jsonpatch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$name string
$path string
$value mixed

공개 메소드들

메소드 설명
__construct ( string $op, stdClass $operation )
getName ( ) : string
getPath ( ) : string
getValue ( ) : mixed
perform ( string $targetDocument ) : mixed

보호된 메소드들

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

메소드 상세

__construct() 공개 메소드

public __construct ( string $op, stdClass $operation )
$op string
$operation stdClass

assertMandatories() 추상적인 보호된 메소드

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

getName() 공개 메소드

public getName ( ) : string
리턴 string

getPath() 공개 메소드

public getPath ( ) : string
리턴 string

getPointerParts() 보호된 메소드

protected getPointerParts ( ) : array
리턴 array

getValue() 공개 메소드

public getValue ( ) : mixed
리턴 mixed

perform() 추상적인 공개 메소드

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

프로퍼티 상세

$name 보호되어 있는 프로퍼티

protected string $name
리턴 string

$path 보호되어 있는 프로퍼티

protected string $path
리턴 string

$value 보호되어 있는 프로퍼티

protected mixed $value
리턴 mixed