Componere\Patch::__construct
(Componere 2 >= 2.1.0)
Componere\Patch::__construct — Patch Construction
Description
public Componere\Patch::__construct ( object
$instance
) public Componere\Patch::__construct ( object
$instance
, array $interfaces
)Parameters
-
instance
-
The target for this Patch
-
interfaces
-
A case insensitive array of class names
Exceptions
Warning
Shall throw RuntimeException if a class in interfaces
cannot be found
Warning
Shall throw RuntimeException if an class in interfaces
is not an interface
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/componere-patch.construct.php