« Componere\Patch::isApplied
Componere\Patch::getClosure »

Componere\Patch::derive

(Componere 2 >= 2.1.1)

Componere\Patch::derive — Patch 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

関連キーワード:
Patch   Componere   instance   derive   Derivation   derived   isApplied   getClosure   given   target   current   Exceptions   throw   InvalidArgumentException   compatible
関連する関数・ページ:
componere-patch.construct   componere-patch.isapplied   componere-patch.apply   componere-patch.getclosure   class.componere-patch   componere-patch.revert