Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Componere\Patch::isAppliedComponere\Patch::getClosure>
^Componere\PatchLast updated: Mon, 26 Oct 2026

Componere\Patch::derive

(Componere 2 >= 2.1.1)

Componere\Patch::derive — Patch Derivation

Description

public function Componere\Patch::derive(object $instance): Patch

Shall derive a Patch for the given instance

Parameters

instance

The target for the derived Patch

Return Values

Patch for instance derived from the current Patch

Exceptions

Warning

Shall throw InvalidArgumentException if instance is not compatible


<Componere\Patch::isAppliedComponere\Patch::getClosure>
^Componere\PatchLast updated: Mon, 26 Oct 2026