PHP Class Rs\Json\Patch\Operations\Copy

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

Protected Properties

Свойство Type Description
$from string

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 property
getFrom ( ) : string

Method Details

__construct() public méthode

public __construct ( stdClass $operation )
$operation stdClass

assertMandatories() protected méthode

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

getFrom() protected méthode

protected getFrom ( ) : string
Résultat string

perform() public méthode

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

Property Details

$from protected_oe property

protected string $from
Résultat string