Componere\Patch::derive

(Componere 2 >= 2.1.1)

Componere\Patch::derivePatch Derivation

説明

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

Shall derive a Patch for the given instance

パラメータ

instance

The target for the derived Patch

返り値

Patch for instance derived from the current Patch

Exceptions

警告

Shall throw InvalidArgumentException if instance is not compatible