Class yii\apidoc\models\FunctionDoc
| Inheritance | yii\apidoc\models\FunctionDoc » yii\apidoc\models\BaseDoc » yii\base\Object | 
|---|---|
| Subclasses | yii\apidoc\models\MethodDoc | 
| Available since version | 2.0 | 
Represents API documentation information for a function.
Public Properties
Public Methods
| Method | Description | Defined By | 
|---|---|---|
| __construct() | yii\apidoc\models\FunctionDoc | |
| extractFirstSentence() | Extracts first sentence out of text | yii\apidoc\models\BaseDoc | 
| getFirstTag() | Get the first tag of a given name | yii\apidoc\models\BaseDoc | 
| 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\FunctionReflector | |
| $context | yii\apidoc\models\Context | |
| $config | array | |