Componere\Patch::__construct
(Componere 2 >= 2.1.0)
Componere\Patch::__construct — Patch Construction
Description
$instance
)$instance
, array $interfaces
)Parameters
-
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