Componere\Patch::derive

(Componere 2 >= 2.1.1)

Componere\Patch::derivePatch Derivation

Descrizione

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

Shall derive a Patch for the given instance

Elenco dei parametri

instance

The target for the derived Patch

Valori restituiti

Patch for instance derived from the current Patch

Exceptions

Avviso

Shall throw InvalidArgumentException if instance is not compatible