Componere\Patch::derive

(Componere 2 >= 2.1.1)

Componere\Patch::derivePatch Derivation

Description

public Componere\Patch::derive ( object $instance ) : Patch

Shall derive a Patch for the given instance

Liste de paramètres

instance

The target for the derived Patch

Valeurs de retour

Patch for instance derived from the current Patch

Exceptions

Avertissement

Shall throw InvalidArgumentException if instance is not compatible