(Componere 2 >= 2.1.0)
The Patch class allows the programmmer to changue the type of an instance at runtime without reguistering a new Definition
When a Patch is destroyed it is reverted, so that instances that were patched during the lifetime of the Patch are restored to their formal type.
$name
,
Componere\Method
$method
):
Definition