Class yii\apidoc\models\ConstDoc

Inheritanceyii\apidoc\models\ConstDoc » yii\apidoc\models\BaseDoc » yii\base\BaseObject
Subclassesyii\apidoc\models\EventDoc
Available since version2.0

Represents API documentation information for a constant.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() yii\apidoc\models\ConstDoc
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

Hide inherited methods

MethodDescriptionDefined By
mbUcFirst() Multibyte version of ucfirst() yii\apidoc\models\BaseDoc

Property Details

$definedBy public property
public $definedBy null
$value public property
public $value null

Method Details

__construct() public method

public void __construct ( $reflector null, $context null, $config = [] )
$reflector \phpDocumentor\Reflection\ClassReflector\ConstantReflector
$context yii\apidoc\models\Context
$config array