PHP Class Rs\Json\Patch\Operations\Remove

Inheritance: extends Rs\Json\Patch\Operation
Afficher le fichier Open project: raphaelstolt/php-jsonpatch Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( stdClass $operation )
perform ( string $targetDocument ) : string

Méthodes protégées

Méthode Description
assertMandatories ( stdClass $operation ) Guard the mandatory operation properties

Private Methods

Méthode Description
remove ( array | stdClass &$json, array $pointerParts )

Method Details

__construct() public méthode

public __construct ( stdClass $operation )
$operation stdClass

assertMandatories() protected méthode

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

perform() public méthode

public perform ( string $targetDocument ) : string
$targetDocument string
Résultat string