Patch Construction

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

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *