Componere\Patch::derive
PHP Manual
PHP Manual»Componere\Patch»Componere\Patch::derive

Componere\Patch::derive

(Componere 2 >= 2.1.1)

Componere\Patch::derivePatch Derivation

Опис

public function 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

To Top