The Componere\Definition class

(Componere 2 >= 2.1.0)

简介

The Definition class allows the programmer to build and register a type at runtime.

Should a Definition replace an existing class, the existing class will be restored when the Definition is destroyed.

类摘要

finalclassComponere\DefinitionextendsComponere\Abstract\Definition {
public__construct(string$name)
public__construct(string$name, string$parent)
public__construct(string$name, array$interfaces)
public__construct(string$name, string$parent, array$interfaces)
publicaddConstant(string$name, Componere\Value$value): Definition
publicaddProperty(string$name, Componere\Value$value): Definition
publicregister(): void
}

目录

To Top