略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Componere\Patch::__construct

2024-05-17

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/componere-patch.construct.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3