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

Warning

Shall throw InvalidArgumentException if instance is not compatible