Свойство | Type | Description | |
---|---|---|---|
$classes | yii\apidoc\models\ClassDoc[] | ||
$errors | array | ||
$files | list of php files that have been added to this context. | ||
$interfaces | yii\apidoc\models\InterfaceDoc[] | ||
$traits | yii\apidoc\models\TraitDoc[] | ||
$warnings | array |
Méthode | Description | |
---|---|---|
addFile ( string $fileName ) | Adds file to context | |
getType ( string $type ) : null | yii\apidoc\models\ClassDoc | yii\apidoc\models\InterfaceDoc | yii\apidoc\models\TraitDoc | Returning TypeDoc for a type given | |
updateReferences ( ) | Updates references |
Méthode | Description | |
---|---|---|
handlePropertyFeature ( yii\apidoc\models\ClassDoc $class ) | Add properties for getters and setters if class is subclass of Object. | |
inheritDocs ( yii\apidoc\models\ClassDoc $class ) | Inhertit docsblocks using @inheritDoc tag. | |
isSubclassOf ( yii\apidoc\models\ClassDoc $classA, yii\apidoc\models\ClassDoc | string $classB ) : boolean | ||
updateSubInterfaceInheritance ( $interface ) | Add methods to subinterfaces | |
updateSubclassInheritance ( yii\apidoc\models\ClassDoc $class ) | Add implemented interfaces and used traits to subclasses | |
updateSubclassInterfacesTraits ( yii\apidoc\models\ClassDoc $class ) | Add implemented interfaces and used traits to subclasses |
Méthode | Description | |
---|---|---|
getFirstNotOptionalParameter ( yii\apidoc\models\MethodDoc $method ) : yii\apidoc\models\ParamDoc | ||
getInterfaces ( yii\apidoc\models\ClassDoc $class ) : array | ||
getParents ( yii\apidoc\models\ClassDoc $class ) : array | ||
hasNonOptionalParams ( yii\apidoc\models\MethodDoc $method, integer $number ) : boolean | Check whether a method has $number non-optional parameters. | |
inheritMethodRecursive ( yii\apidoc\models\MethodDoc $method, yii\apidoc\models\ClassDoc $class ) : mixed | ||
inheritPropertyRecursive ( |
protected handlePropertyFeature ( yii\apidoc\models\ClassDoc $class ) | ||
$class | yii\apidoc\models\ClassDoc |
protected inheritDocs ( yii\apidoc\models\ClassDoc $class ) | ||
$class | yii\apidoc\models\ClassDoc |
protected isSubclassOf ( yii\apidoc\models\ClassDoc $classA, yii\apidoc\models\ClassDoc | string $classB ) : boolean | ||
$classA | yii\apidoc\models\ClassDoc | |
$classB | yii\apidoc\models\ClassDoc | string | |
Résultat | boolean |
protected updateSubInterfaceInheritance ( $interface ) |
protected updateSubclassInheritance ( yii\apidoc\models\ClassDoc $class ) | ||
$class | yii\apidoc\models\ClassDoc |
protected updateSubclassInterfacesTraits ( yii\apidoc\models\ClassDoc $class ) | ||
$class | yii\apidoc\models\ClassDoc |
public ClassDoc[],yii\apidoc\models $classes | ||
Résultat | yii\apidoc\models\ClassDoc[] |
public InterfaceDoc[],yii\apidoc\models $interfaces | ||
Résultat | yii\apidoc\models\InterfaceDoc[] |
public TraitDoc[],yii\apidoc\models $traits | ||
Résultat | yii\apidoc\models\TraitDoc[] |