Свойство | Type | Description | |
---|---|---|---|
$annotations | Zephir\Documentation\Annotation[] | ||
$description | string | ||
$summary | string |
Méthode | Description | |
---|---|---|
__toString ( ) : string | ||
addAnnotation ( Zephir\Documentation\Annotation $annotation ) | ||
generate ( ) : string | ||
getAnnotations ( ) : Zephir\Documentation\Annotation[] | ||
getAnnotationsByType ( string $type ) : Zephir\Documentation\Annotation[] | ||
getDescription ( ) : string | ||
getSummary ( ) : string | ||
setAnnotations ( array $annotations ) | ||
setDescription ( string $description ) | ||
setSummary ( string $summary ) |
public addAnnotation ( Zephir\Documentation\Annotation $annotation ) | ||
$annotation | Zephir\Documentation\Annotation |
public getAnnotations ( ) : Zephir\Documentation\Annotation[] | ||
Résultat | Zephir\Documentation\Annotation[] |
public getAnnotationsByType ( string $type ) : Zephir\Documentation\Annotation[] | ||
$type | string | the annotation name you want to get |
Résultat | Zephir\Documentation\Annotation[] | an array containing the annotations matching the name |
protected Annotation[],Zephir\Documentation $annotations | ||
Résultat | Zephir\Documentation\Annotation[] |