GoLang Componere\Patch::__construct

request it (28)
GoLang replacement for PHP's Componere\Patch::__construct [edit | history]



Do you know a GoLang replacement for PHP's Componere\Patch::__construct? Write it!

PHP Componere\Patch::__construct

PHP original manual for Componere\Patch::__construct [ show | php.net ]

Componere\Patch::__construct

(Componere 2 >= 2.1.0)

Componere\Patch::__constructPatch 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