Class yii\apidoc\models\TraitDoc
Inheritance | yii\apidoc\models\TraitDoc » yii\apidoc\models\TypeDoc » yii\apidoc\models\BaseDoc » yii\base\Object |
---|---|
Available since version | 2.0 |
Represents API documentation information for a trait
.
Public Properties
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | yii\apidoc\models\TraitDoc | |
extractFirstSentence() | Extracts first sentence out of text | yii\apidoc\models\BaseDoc |
findSubject() | Finds subject (method or property) by name | yii\apidoc\models\TypeDoc |
getFirstTag() | Get the first tag of a given name | yii\apidoc\models\BaseDoc |
getNativeMethods() | yii\apidoc\models\TypeDoc | |
getNativeProperties() | yii\apidoc\models\TypeDoc | |
getProtectedMethods() | yii\apidoc\models\TypeDoc | |
getProtectedProperties() | yii\apidoc\models\TypeDoc | |
getPublicMethods() | yii\apidoc\models\TypeDoc | |
getPublicProperties() | yii\apidoc\models\TypeDoc | |
hasTag() | Checks if doc has tag of a given name | yii\apidoc\models\BaseDoc |
removeTag() | Removes tag of a given name | yii\apidoc\models\BaseDoc |
Protected Methods
Method | Description | Defined By |
---|---|---|
mbUcFirst() | Multibyte version of ucfirst() | yii\apidoc\models\BaseDoc |
Property Details
Method Details
public void __construct ( $reflector = null, $context = null, $config = [] ) | ||
$reflector | \phpDocumentor\Reflection\TraitReflector | |
$context | yii\apidoc\models\Context | |
$config | array |