Свойство | Тип | Описание | |
---|---|---|---|
$annotations | Zephir\Documentation\Annotation[] | ||
$description | string | ||
$summary | string |
Метод | Описание | |
---|---|---|
__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[] | ||
Результат | Zephir\Documentation\Annotation[] |
public getAnnotationsByType ( string $type ) : Zephir\Documentation\Annotation[] | ||
$type | string | the annotation name you want to get |
Результат | Zephir\Documentation\Annotation[] | an array containing the annotations matching the name |
protected Annotation[],Zephir\Documentation $annotations | ||
Результат | Zephir\Documentation\Annotation[] |