# The Componere\Abstract\Definition class

(Componere 2 >= 2.1.0)

## 简介

This final abstract represents a class entry, and should not be used by the programmer.

## 类摘要

final abstract class Componere\Abstract\Definition {
/* 方法 */
public function addInterface(string `$interface`): Definition
public function addMethod(string `$name`, Componere\Method `$method`): Definition
public function addTrait(string `$trait`): Definition
public function getReflector(): ReflectionClass
}

## 目录

- Componere\Abstract\Definition::addInterface — Add Interface
- Componere\Abstract\Definition::addMethod — Add Method
- Componere\Abstract\Definition::addTrait — Add Trait
- Componere\Abstract\Definition::getReflector — Reflection

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open