Php/docs/componere-patch.construct

提供:Dev Guides
< Php
2020年12月14日 (月) 13:10時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

Componere\Patch::__construct

(Componere 2 >= 2.1.0)

Componere\Patch::__constructPatch Construction


説明

public Componere\Patch::__construct ( object $instance )

public Componere\Patch::__construct ( object $instance , array $interfaces )

パラメータ

instance
The target for this Patch
interfaces
A case insensitive array of class names


Exceptions

警告 Shall throw RuntimeException if a class in interfaces cannot be found


警告 Shall throw RuntimeException if an class in interfaces is not an interface