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.
类摘要
final
Componere\Definition
extends
Componere\Abstract\Definition
{
/* Constructors */
/* 方法 */
/* 继承的方法 */
public Componere\Abstract\Definition::addMethod
( string
}$name
, \Componere\Method $method
) : DefinitionTable of Contents
- Componere\Definition::__construct — Definition Construction
- Componere\Definition::addConstant — Add Constant
- Componere\Definition::addProperty — Add Property
- Componere\Definition::register — Registration
- Componere\Definition::isRegistered — State Detection
- Componere\Definition::getClosure — Get Closure
- Componere\Definition::getClosures — Get Closures