PHP 8.5.2 Released!

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 a class in interfaces is not an interface

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top