(Componere 2 >= 2.1.1)
Componere\Patch::derive — Patch 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
Shall throw InvalidArgumentException if instance
is not compatible
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/componere-patch.derive.php