PHP 8.4.1 Released!

Componere\Patch::__construct

(Componere 2 >= 2.1.0)

Componere\Patch::__constructPatch Construction

Beschreibung

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

Parameter-Liste

instance

The target for this Patch

interfaces

A case insensitive array of class names

Exceptions

Warnung

Shall throw RuntimeException if a class in interfaces cannot be found

Warnung

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top