Componere\Abstract\Definition::addInterface

Add Interface

Description

public Definition Componere\Abstract\Definition::addInterface(string $interface)

Shall implement the given interface on the current definition

Parameters

interface

The case insensitive name of an interface

Return Values

The current Definition

Exceptions

Warning

Shall throw RuntimeException if Definition was registered