PHP Класс Rs\Json\Patch\Operation

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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