Php/docs/componere-patch.derive

来自菜鸟教程
跳转至:导航、​搜索

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